I think default is no level. To set it, log4j.appender.R.Threshold=DEBUG
You can also ONLY log ERROR or FATAL, simple replace DEBUT with ERROR or FATAL. -----Original Message----- From: Raj Nella [mailto:[EMAIL PROTECTED] Sent: June 13, 2003 11:43 AM To: Log4J Users List Subject: RE: problem with RollingFileAppender i just started using log4j for my academic project, i have no idea about setting the threshold --- Phillip Qin <[EMAIL PROTECTED]> wrote: > Did you set the threshold? > > -----Original Message----- > From: Raj Nella [mailto:[EMAIL PROTECTED] > Sent: June 13, 2003 11:29 AM > To: [EMAIL PROTECTED] > Subject: problem with RollingFileAppender > > Hi, > > I'm testing log4j on WSAD 5.0 and i coded a > intilzation servlet. I added 3 appenders to the > rootlogger, 2 of which(console and LF5Appender) are > working fine, but there is some problem with the > RollingFileAppender. I dont see the log file > created. > > here is my config file: > > log4j.rootLogger=debug, stdout, R, A1 > > log4j.appender.stdout=org.apache.log4j.ConsoleAppender > log4j.appender.stdout.layout=org.apache.log4j.PatternLayout > > # Pattern to output the caller's file name and line > number. > log4j.appender.stdout.layout.ConversionPattern=%5p > [%t] (%F:%L) - %m%n > > log4j.appender.R=org.apache.log4j.RollingFileAppender > log4j.appender.R.File=C:\Log4jTest\Log4jTester\Web > Content\example.log > > log4j.appender.R.MaxFileSize=100KB > # Keep one backup file > log4j.appender.R.MaxBackupIndex=1 > > log4j.appender.R.layout=org.apache.log4j.PatternLayout > log4j.appender.R.layout.ConversionPattern=%p %t %c > %x > - %m%n > > log4j.appender.A1=org.apache.log4j.lf5.LF5Appender > > can anyone suggest a possible solution > > Thanks in advance > Raj. > > > > __________________________________ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to > Outlook(TM). > http://calendar.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]