Logging is a good thing but unfortunately, it comes at a cost of disk space. and if left uncheck it can lead to systems running out of space.
If the particular system supports this, circular logging should be enabled to mitigate. Circular logging works but overwriting oldest logs first.
This is great if the system supports it however if it doesn't, it forces administrators to manually clear logs, preferably before disk runs out of space.
This is where CircularLogArchiver comes in. It enables circular logging functionality on any log files.
Usage : CircularLogArchiver.exe GO [/LP:LogPath] [/LE:LogExtention] [/AI:ArchiveInterval] [/AOT:ArchiveOlderThan] [/DAOT:DontArchiveOlderThan] [/DOT:DeleteOlderThan]
Example : CircularLogArchiver.exe GO /LP:”C:\Logs” /LE:”*.log” /AI:”M” /AOT:”1″ /DAOT:”3″ /DOT:”3″
Example above will archive all files in “C:\Logs” with *.log extension that are between one and three months old and it will delete files older than three months
CircularLogArhiver can be downloaded from http://blog.ittelligence.com/wp-content/uploads/2017/10/CircularLogArchiver.zip
Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.
Comments (0)