Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.9
-
Labels:None
-
Environment:Any time Velocity spits over 100KB of log
-
Number of attachments :
Description
Currently, clean:clean only cleans velocity.log, and not velocity.log.1.
By default, Velocity uses the RollingFileAppender with maxBackupIndex=1 and maximumFileSize=100000. Which means, if the log file exceeds 100000 bytes, the log file will be rolled to velocity.log.1 and a new log file will start. If the clean plugin is going to clean the original log, it should also clean the rolled log.
(Or, I guess it could be put in the xdoc plugin.)
Issue Links
- is duplicated by
-
MPCLEAN-6
maven-clean plugin does not remove velocity.log.? files
-
A patch to let clean:clean clean the rolled log file as well