AnsweredAssumed Answered

Log file autorenaming error Alfresco 3.2

Question asked by klenin on Oct 9, 2009
Hi,
At first, thanks for really cool system  :D
I have one problem.
Every midnight in Tomcat console window register error
log4j:ERROR Failed to rename [alfresco.log] to [alfresco.log.2009-10-08].

In tomcat\webapps\alfresco\WEB-INF\classes\log4j.properties:

###### File appender definition #######
log4j.appender.File=org.apache.log4j.DailyRollingFileAppender
log4j.appender.File.File=alfresco.log
log4j.appender.File.Append=true
log4j.appender.File.DatePattern='.'yyyy-MM-dd
log4j.appender.File.layout=org.apache.log4j.PatternLayout
log4j.appender.File.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c] %m%n

Permissions for root folder, where this file keept, is right.

How to fix this issue.

And P.S. How I may change path for log file, for example, to C:\Alfresco\Logs\alfresco.log

Thanks!

Outcomes