See the recent thread with a subject of "level based logging into seperate files"
On 8/11/07, Chamal De Silva <[EMAIL PROTECTED]> wrote: > 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. > -- James A. N. Stauffer http://www.geocities.com/stauffer_james/ Are you good? Take the test at http://www.livingwaters.com/good/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]