Re: logging different things to different files

2002-04-19 Thread Matthew Hixson
Thanks for the help, Scott. I've gotten it working now. Below is the file I'm using. I noticed in your example you have: log4j.appender.business.Threshold=DEBUG If I raise that to WARN does that mean that any businessLogger.debug("msg") statements won't get logged since WARN is higher than D

Re: logging different things to different files

2002-04-18 Thread Matthew Hixson
Oh, thanks. I'll give that a try. Yes, I did read that entire page, but it was still not clear to me how to create a new logger. Thanks, -M@ On Fri, 19 Apr 2002, Scott Farquhar wrote: > Have you read this? > > http://jakarta.apache.org/log4j/docs/manual.html > > Here is the sample file

Re: logging different things to different files

2002-04-18 Thread Matthew Hixson
Have I read what? -M@ On Fri, 19 Apr 2002, Scott Farquhar wrote: > Have you read this? > > > Matthew Hixson wrote: > > Hi, > > I am working on a web app that needs to log different, mostly unrelated, > > messages to two completely different files. I have spent the last hour > > trying to

Re: logging different things to different files

2002-04-18 Thread Scott Farquhar
Have you read this? http://jakarta.apache.org/log4j/docs/manual.html Here is the sample file: ~~~ # A log4j properties file # Set root logger level to DEBUG and its only appender to console. log4j.rootLogger=DEBUG, console log4j.rootCategory=DEBUG, console log4j.cat

Re: logging different things to different files

2002-04-18 Thread Scott Farquhar
Have you read this? Matthew Hixson wrote: > Hi, > I am working on a web app that needs to log different, mostly unrelated, > messages to two completely different files. I have spent the last hour > trying to find any and all mention of logging to two different files > within one web app and c

logging different things to different files

2002-04-18 Thread Matthew Hixson
Hi, I am working on a web app that needs to log different, mostly unrelated, messages to two completely different files. I have spent the last hour trying to find any and all mention of logging to two different files within one web app and can't even find a single example. I fully understand l