Re: Logging with Log4J

2009-12-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bart, On 12/5/2009 7:55 AM, Bart Vandewoestyne wrote: log4j.appender.myAppender.File=testbart.log I would have done: log4j.appender.myAppender.File=/var/log/tomcat/mywebapp.log Make sure that the user running Tomcat has rights to write to that

Re: Logging with Log4J

2009-12-05 Thread Bart Vandewoestyne
On Fri, Dec 04, 2009 at 05:08:05PM -0500, Christopher Schultz wrote: [snip] log4j.rootLogger=DEBUG, cons See Jeffrey's suggestion in his post. OK. I changed that... and I'm working my way through the Log4J docs to better understand how it works...

RE: Logging with Log4J

2009-12-04 Thread Jeffrey Janner
Change your first line from DEBUG, cons to DEBUG, myAppender -Original Message- From: Bart Vandewoestyne [mailto:bart.vandewoest...@telenet.be] Sent: Friday, December 04, 2009 9:03 AM To: users@tomcat.apache.org Subject: Logging with Log4J Hello list, Up until now, I have used simple

Re: Logging with Log4J

2009-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bart, On 12/4/2009 10:02 AM, Bart Vandewoestyne wrote: I *do* however see log messages appearing in /var/log/syslog, but that is not what i want. That's very weird: you have no configuration whatsoever that would lead me to believe that your