massdosage / citrine-scheduler

Java web application which can be used to configure, manage and monitor the running of various tasks
Apache License 2.0
4 stars 4 forks source link

Log File Cleaner does not clean up big log files which end in .log.N #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run a citrine job which creates a big log file, this will be job.log, 
job.log.1
2. Run the log cleaner admin job with a time that should delete this

What is the expected output? What do you see instead?
All log filers older than the expected date should be deleted. job.log is 
deleted, but job.log.1 (and .2, .3 etc) aren't.

Please use labels and text to provide additional information.

LogFileManagerImpl uses a pattern of ".log" to delete files, this should be 
expanded to ".log*"

Original issue reported on code.google.com by massdosage on 18 May 2011 at 5:23

GoogleCodeExporter commented 9 years ago
Well delete all files ending in .log* now. Fix will go out in next version 
(>4.1.0)

Original comment by massdosage on 19 May 2011 at 1:32