-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kevin,
On 7/9/12 11:52 AM, Dunbar, Kevin D CIV SPAWARSYSCEN-PACIFIC, 56250 wrote: > Thank you Chris and Konstantin for replying to my message. Here is > the contents of the log4j.properties file... (This was taken from > the instructions on the Tomcat website for logging with log4j). > Thank you again for any help you can provide. > > log4j.rootLogger=INFO, CATALINA # Define all the appenders > log4j.appender.CATALINA=org.apache.log4j.DailyRollingFileAppender > log4j.appender.CATALINA.File=${catalina.base}/logs/catalina. > log4j.appender.CATALINA.Append=true > log4j.appender.CATALINA.Encoding=UTF-8 That looks okay to me, except that I didn't realize that $CATALINA_BASE/lib would load JAR files contained in it as well as raw resources, but you are following the documentation faithfully. Try setting the "-Dlog4j.debug" system property (no specific value is necessary) and log4j should spew a lot of stuff to stdout that you can see when it is performing its configuration -- you'll be able to see when it first initializes and what happens at that time. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/8WHAACgkQ9CaO5/Lv0PCUdgCgqLRF2DZ5DLZQSZQTx8OIm4ve +2kAnRMAv7w7iUHHIcT5JDdh2Y0BA1tb =0B8R -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org