<

Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

Log file problem - CircularLogArchiver

Published on
3,841 Points
641 Views
2 Endorsements
Last Modified:
Shaun Vermaak
My name is Shaun Vermaak and I have always been fascinated with technology and how we use it to enhance our lives and business.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
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.
 
cl.png
Above shows the process to enable circular logging in Exchange

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/01/CircularLogArchiver-1.zip
clbefore.png
Before
clafter.png
After

Please do not forget to press the "Thumb's Up" button if this article was helpful and valuable for EE members.
It also provides me with positive feedback. Thank you!
2
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
0 Comments

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Join & Write a Comment

To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
how to add IIS SMTP to handle application/Scanner relays into office 365.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month