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]

Reply via email to