Skip to content

Commit

Permalink
[DS-1610] Don't keep Cocoon logs forever
Browse files Browse the repository at this point in the history
Drop rotated logs after 14 rotations (two weeks).
  • Loading branch information
mwoodiupui committed Aug 23, 2013
1 parent f039ee3 commit 1b1cdd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dspace/config/log4j.properties
Expand Up @@ -94,7 +94,7 @@ log4j.appender.A3.File=${log.dir}/cocoon.log
# Set this to yyyy-MM-DD for daily log files, or yyyy-MM for monthly files
log4j.appender.A3.DatePattern=yyyy-MM-dd
# The number of log files to keep, or 0 to keep them all
log4j.appender.A3.MaxLogs=0
log4j.appender.A3.MaxLogs=14
# A2 uses PatternLayout.
log4j.appender.A3.layout=org.apache.log4j.PatternLayout
log4j.appender.A3.layout.ConversionPattern=%d %-5p %c %x - %m%n
Expand Down

0 comments on commit 1b1cdd0

Please sign in to comment.