-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 To whom it may concern,
On 6/24/2011 12:18 PM, jjgtx wrote: > Christopher Schultz-2 wrote: >> Where did you put your log4j.properties file and what does it contain? >> Can you just post the whole thing? > > [I put log4j.properties in] $CATALINA_HOME/lib > > I hate to post the whole thing, its a bit long would it be better to send > it? I was mainly concerned with what you appender configuration looked like, in case you misconfigured something there and therefore were getting no logs due to that. Is your configuration file similar to that described in http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Using_Log4j? Given the output on startup: > log4j: Handling log4j.additivity.org.apache.catalina=[null] > log4j: Parsing for [org] with value=[WARN]. > log4j: Level token is [WARN]. I suspect that log4j is actually being loaded and configured, though :) > One thing I was curious about is that should be the value of the > $LOGGING_CONFIG property. I used the path to the log4j file. I don't believe you need to set LOGGING_CONFIG to anything: I believe LOGGING_CONFIG is only used for the JULI configuration (which is mutually exclusive to using log4j). Try significantly simplifying your environment and configuration: 0. Shut-down Tomcat and delete all files from logs/ 1. Don't deploy any webapps... just work with Tomcat itself for now 2. Remove all appenders except for a single FileAppender, point that to a writable file, set the log level to INFO 3. Make sure you have: log4j.rootCategory=INFO,[appendername] Start up Tomcat and see if you get anything in your log file. There should be a few INFO messages in there. If that doesn't work, please post your whole (simplified as described above) log file and a complete dump of: 1. logs/catalina.out 2. logs/* (any other files that are created on startup, even if they are empty) - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4Ewr0ACgkQ9CaO5/Lv0PC22gCfekanthUWmdkA6SLKeGbRjVgh SgwAnA89L6+n2KbTnn8iUIg46Ywwpg9Z =Pn/U -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org