Hi,

I am using RollingFileAppender.
This is my log4j properties file.

log4j.rootLogger=debug, R
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=syslog.log
log4j.appender.R.MaxFileSize=100KB
log4j.appender.R.MaxBackupIndex=5
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n

But I want to write debug messages to a file called sysdebug.log, info
messages to sysinfo.log and errors to syserror.log.  Please tell me how to
do this.

Thanking You,
Chamal.

Reply via email to