Hi.

The only thing, I can see' there is wrong with the configuration is, that you have 
placed the parameter for DatePattern inside a pair of "". I don't think that is the 
right way.
Try with:
 ...
log4.appender.A1.DatePattern='.'yyyy-MM-dd-a
...

BR Jan

-----Original Message-----
From: PRAVIN VAJIRKAR [mailto:[EMAIL PROTECTED]]
Sent: 15. august 2002 00:01
To: '[EMAIL PROTECTED]'
Subject: Things ain't Rolling, man


My Properties file looks like this....

############################
log4j.rootLogger=DEBUG, A1 
log4j.appender.A1.File=C:\\Dorado\\oware3rd\\log4j\\LogFiles\\ServerLogger.log 
log4j.appender.A1=org.apache.log4j.DailyRollingFileAppender
log4.appender.A1.DatePattern="'.'yyyy-MM-dd-a"
log4j.appender.A1.MaxBackupIndex=20
log4j.appender.A1.layout=org.apache.log4j.PatternLayout 
log4j.appender.A1.layout.ConversionPattern= {%-5p} [%t] %c %C{1} %d  %m%n
log4j.debug=true 
############################

Problem: At midnight, the file is purged back to 0KB and NO new file is created.....
Woof!! What am I doing wrong guys??

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


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

Reply via email to