Thanks for answering. I do have administrator rights (Windows 2000).
Anyhow, I restructured my properties and redeployed my application.
I found a second application on the testserver using log4j. After removing that
it is suddenly working. I suppose, it might be a classloading problem.

At the moment I am trying to reproduce the error but haven't been successful so far.

Regards,
HaJo Odlozinski

-----Urspr�ngliche Nachricht-----
Von: Stefan Bayer [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 8. Januar 2003 17:24
An: Log4J Users List
Betreff: Re: Problems wit DailyRollingFileAppender


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]>

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

Reply via email to