RE: Tomcat logging with Log4j

2014-04-18 Thread Scott Bailey
hultz [mailto:ch...@christopherschultz.net] Sent: Thursday, April 17, 2014 4:41 PM To: Tomcat Users List Subject: Re: Tomcat logging with Log4j -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Scott, On 4/16/14, 10:15 AM, Scott Bailey wrote: > I was able to get one of our developers and it was

Re: Tomcat logging with Log4j

2014-04-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Scott, On 4/16/14, 10:15 AM, Scott Bailey wrote: > I was able to get one of our developers and it was simple for them > to add the logging for our app to the logback we are using a file > and add logging rotation. My issue is resolved. Thanks for th

RE: Tomcat logging with Log4j

2014-04-16 Thread Scott Bailey
: Tuesday, April 15, 2014 3:15 PM To: Tomcat Users List Subject: RE: Tomcat logging with Log4j Hello Christopher, > What steps did you actually take? Steps on this site: http://mrhaki.blogspot.com/2011/02/configure-log4j-on-tomcat.html Downloaded new jars from "extras" for tomcat. tomcat

RE: Tomcat logging with Log4j

2014-04-15 Thread Scott Bailey
logged it to the log file. Thanks! -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, April 15, 2014 2:22 PM To: Tomcat Users List Subject: Re: Tomcat logging with Log4j -BEGIN PGP SIGNED MESS

Re: Tomcat logging with Log4j

2014-04-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Scott, On 4/15/14, 2:50 PM, Scott Bailey wrote: > We need to add log rotation and log size management to tomcat 7. > Tried converting to Log4j steps from tomcat website > (http://tomcat.apache.org/tomcat-7.0-doc/logging.html) but did not > work,

Tomcat logging with Log4j

2014-04-15 Thread Scott Bailey
Hi all, We need to add log rotation and log size management to tomcat 7. Tried converting to Log4j steps from tomcat website (http://tomcat.apache.org/tomcat-7.0-doc/logging.html) but did not work, was able to get it to work from (http://mrhaki.blogspot.com/2011/02/configure-log4j-on-tomcat.htm

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 wr

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... > > log4j.appender.myAppender.F

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 weba

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 un

Logging with Log4J

2009-12-04 Thread Bart Vandewoestyne
Hello list, Up until now, I have used simple System.out.println() statements to do the logging of my web applications, but I want to start using a more advanced system with more possibilities. Log4J seemed like a good choice. The most important thing for me is that the log messages are written n