Hi,

after I searching for the difference between rootlogger and rootLogger for a
few hours :/ I prefere to ask you this time ;)

The behaviour I expect for the following code is, that everything that has
Level Error and higher (fatal) will be written to logs/Error.log. But I also
find entries with level info and warning in the file.

## RollingFileAppender (defaultLog.log)
                log4j.appender.defaultLog = org.apache.log4j.RollingFileAppender
                log4j.appender.defaultLog.File = logs/Error.log
                log4j.appender.defaultLog.MaxFileSize=10MB
                log4j.appender.defaultLog.MaxBackupIndex=2
                log4j.appender.defaultLog.layout = org.apache.log4j.PatternLayout
                log4j.appender.defaultLog.layout.ConversionPattern = %d [%t] %-5p %c -
%m%n

log4j.rootLogger = ERROR, defaultLog

Hope this is as trivial as my last problem,

Christian

-- 
+++ GMX - die erste Adresse f�r Mail, Message, More +++
Neu: Preissenkung f�r MMS und FreeMMS! http://www.gmx.net



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

Reply via email to