Log Cleanup and Rotation

The required retention period for log files varies from organization to organization. The log files are invaluable as security audit trails and system administration history logs.

The event log grows in length and contains more data than you see when executing a simple pblog command. Execute pblog -l and you will see a list of the variables. We suggest you run a nightly Unix/Linux cron (or similar) job to rename the event log.

mv pb.eventlog pb.eventlog.prev


mv pb.eventlog pb.eventlog(datestamp)

The I/O log files increase in number rather than length. Their number should also be controlled using Unix/Linux cron. For example, you might want to keep two weeks of I/O logs before removing them from the system.