Re: Another confusion: how to log multiple files.

2004-04-01 Thread Simon Kitching
On Fri, 2004-04-02 at 16:31, Kawthar Bt M Sulaiman wrote: > Hi, > > Another confusion I'm having is how to log multiple files... > This is what I had done: > > 1. In my App 1, I called Logger.getLogger("MO"). > This should write to a file MO.log > > 2. In my App 2, I called Logger.getLog

Re: Another confusion: how to log multiple files.

2004-04-01 Thread Kawthar Bt M Sulaiman
Thanks Paul... got it now. --Kawthar >>> [EMAIL PROTECTED] 02/04/2004 12:37:01 PM >>> > log4j.rootCategory=debug, MO, APP > > log4j.appender.MO=org.apache.og4j.DailyRollingFileAppender > log4j.appender.MO.File=MO.log > > log4j.appender.APP=org.apache.og4j.DailyRollingFileAppender > log4j.appen

Re: Another confusion: how to log multiple files.

2004-04-01 Thread Paul Smith
> log4j.rootCategory=debug, MO, APP > > log4j.appender.MO=org.apache.og4j.DailyRollingFileAppender > log4j.appender.MO.File=MO.log > > log4j.appender.APP=org.apache.og4j.DailyRollingFileAppender > log4j.appender.APP.File=APP.log This is what you want: log4j.rootCategory=debug log4j.logger.MO=

Another confusion: how to log multiple files.

2004-04-01 Thread Kawthar Bt M Sulaiman
Hi, Another confusion I'm having is how to log multiple files... This is what I had done: 1. In my App 1, I called Logger.getLogger("MO"). This should write to a file MO.log 2. In my App 2, I called Logger.getLogger("APP"). This should write to a file APP.log 3. In my log4j.prope