Have you checked if you have the reqired rights in the file system?
At 15:11 08.01.2003, you wrote:
I am using Log4J version 1.2.7.
My properties-file looks as follows:
log4j.rootLogger=DEBUG, A1
log4j.appender.A1=org.apache.log4j.DailyRollingFileAppender
log4j.appender.A1.DatePattern='.'yyyy-MM-dd-HH-mm
log4j.appender.A1.File=./log/Log4JTest.log
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
# Print the date in ISO 8601 format
log4j.appender.A1.layout.ConversionPattern=[%x] - %d [%t] %-5p %c - %m%n
I am using log4j within a web application server (SAP Web AS).The logging
itself works fine.
At rolling time, the following message occurs on the server process
console output:
log4j:ERROR Failed to rename [./log/Log4JTest.log] to
[./log/Log4JTest.log.2003-01-08-13-11].
What could be the reason for this?
Thanks in advance for any hint.
Regards,
HaJo Odlozinski
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
ByTek - Stefan Bayer
Softwaresysteme
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>