You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Ranjit Gopalan <RG...@SELECTICA.com> on 2002/12/24 18:05:35 UTC

Log4j problem

Hi All,

 

I am using the following log4j.properties file. the problem is it appends to
A2 when i get the logger of CxLoggingAdapter while i am exception it to log
to R. can any body tell me why this is happening.

Thanks in advance

Ranjit

 

log4j.rootLogger=DEBUG,A2

log4j.appender.A2=org.apache.log4j.RollingFileAppender

log4j.appender.A2.File=SQLLog.log

log4j.appender.A2.Append=true

log4j.appender.A2.MaxFileSize=100KB

log4j.appender.A2.MaxBackupIndex=1

log4j.appender.A2.layout=org.apache.log4j.PatternLayout

log4j.appender.A2.layout.ConversionPattern=%d{DATE} - %m%n

log4j.appender.R=org.apache.log4j.RollingFileAppender

log4j.appender.R.File=adm.log

log4j.appender.R.MaxFileSize=100KB

log4j.appender.R.MaxBackupIndex=1

log4j.appender.R.layout=org.apache.log4j.PatternLayout

log4j.appender.R.layout.ConversionPattern=%-4r %-5p [%t] %37c %3x - %m%n

log4j.additivity.com.sel.CxLoggingAdapter=false

log4j.logging.com.sel.CxLoggingAdapter=DEBUG,R

log4j.logging.SQLLog=INFO,R

log4j.logging.red=INFO,R