--- Atte A <[EMAIL PROTECTED]> wrote:
> Hi!
> 
> This problem is about multiple clients logging to
> two different log files. 
> (One log file for errors and one for tracing)
> 
> I have two categories and each one of them has its
> own configuration 
> property file. In both of the configuration property
> file the file appender 
> is stated.
> 
> The problem is that it mixes the logging to both of
> the files. One logging 
> category should just write to one of the files and
> not sometimes to the 
> right one and sometimes do the other one.
> 
> Please help me...
> 
> Thanks in advance!
> 
> /Atay
> 
> MY PROPERTY FILES:
> FILE 1:
> 
> log4j.rootCategory=debug, ErrorAppender
> 
>
log4j.appender.ErrorAppender=org.apache.log4j.RollingFileAppender
> log4j.appender.ErrorAppender.File=C:Nyttja_Error.log
> 
> log4j.appender.ErrorAppender.MaxFileSize=1000KB
> log4j.appender.ErrorAppender.MaxBackupIndex=5
> 
>
log4j.appender.ErrorAppender.layout=org.apache.log4j.PatternLayout
>
log4j.appender.ErrorAppender.layout.ConversionPattern=%m%n%n
> 
> FILE 2:
> 
> log4j.rootCategory=debug, TraceAppender
> 
>
log4j.appender.TraceAppender=org.apache.log4j.RollingFileAppender
> log4j.appender.TraceAppender.File=C:Nyttja_Trace.log
> 
> log4j.appender.TraceAppender.MaxFileSize=1000KB
> log4j.appender.TraceAppender.MaxBackupIndex=5
> 
>
log4j.appender.TraceAppender.layout=org.apache.log4j.PatternLayout
>
log4j.appender.TraceAppender.layout.ConversionPattern=Time:%d{HH:mm:ss.SSS}%nClass:%c%nMethod:%m%nThread:%t%n%n
>
_________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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

Reply via email to