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.appender.APP.File=APP.log


This is what you want:

log4j.rootCategory=debug

log4j.logger.MO=debug, MO
log4j.logger.APP=debug, 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

Note that "category" and "logger" are interchangeable (so "rootLogger"
is the same as "rootCategory")

Paul


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


Confidential information may be contained in this e-mail and any files transmitted 
with it ('Message'). If you are not the addressee indicated in this Message (or 
responsible for delivery of this Message to such person), you are hereby notified that 
any dissemination, distribution, printing or copying of this Message or any part 
thereof is strictly prohibited. In such a case, you should delete this Message 
immediately and advise the sender by return e-mail. Opinions, conclusions and other 
information in this Message that do not relate to the official business of Maxis shall 
be understood as neither given nor endorsed by Maxis.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to