struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darren Hall" <>
Subject RE: [newb question] Turning on DEBUG level logging
Date Wed, 14 Jun 2006 18:24:06 GMT
I tried that. There is no output from log4j to the daily catalina.log files.

However, taking another path, I created a new (and much simpler) log4j.xml
file. Using this new file, I now see the following log file created
'C:\Program Files\Apache Group\Tomcat 5.5\logs\uwaf-debug.log'.
So... progress!

However, the log file contains nothing. None of my info or debug statements
were printed to the file. It's blank. What did I do wrong now?
Any ideas??




<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration xmlns:log4j="">

  <appender name="DEBUG" class="org.apache.log4j.FileAppender">
    <param name="File" value="logs/uwaf-debug.log" />
    <param name="Threshold" value="DEBUG" />
    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="%d{ISO8601} %-5p %c - %m%n"/>

  <logger name="com.uwaf">
    <level value="debug"/>
    <appender-ref ref="DEBUG"/>


-----Original Message-----
From: Dave Newton [] 
Sent: Wednesday, June 14, 2006 11:19 AM
To: Struts Users Mailing List
Subject: Re: [newb question] Turning on DEBUG level logging

Darren Hall wrote:
> I'm not starting it from the command line any longer. Therefore, I can't
> any console output from Tomcat.

Try using a ConsoleAppender and tail -f the log file in the tomcat log


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message