Feature #211

One log file per day

Added by Christian Dehning 970 days ago. Updated 924 days ago.

Status:Closed Start:06/10/2009
Priority:Normal Due date:
Assigned to:Karl Heinz Marbaise % Done:

0%

Category:-
Target version:-

Description

At the moment, everything is written into one log file. It would be better to have one log file per day, so that the log stays readable.

History

Updated by Karl Heinz Marbaise 970 days ago

Hi Christian,

At the moment, everything is written into one log file. It would be better to have one log file per day, so that the log stays readable.

You can configure the logging system by changing the log4j.properties file...

if you replace the following line in the log4j.properties file:
log4j.appender.logFile=org.apache.log4j.FileAppender

with the following
log4j.appender.logFile=org.apache.log4j.DailyRollingFileAppender
log4j.appender.logFile.datePattern='.'yyyy-MM-dd

The logging should work as you like.

Kind regards
Karl Heinz Marbaise

Updated by Karl Heinz Marbaise 924 days ago

  • Status changed from New to Closed

- Based on the explanations i close this issue.

Also available in: Atom PDF