Log Management
Log management is a mundane daily task for all system administrators. Logs tell the story of your systems; you should consider them sacred and watch over them at all times. Properly managed logs do not take up too much space on a file system, are of a usable size, are archived for future reference, and provide an adequate view into the past activity of your systems. Many Unix systems provide tools that handle some of these tasks automatically, but a few tweaks here and there can make the job even easier.
Log management involves four major functions: location, file size, rotation, and archiving. This section describes each of these functions and how to implement and tune them on your own systems.
Location
The location of log files ...
Get Unix® System Management Primer Plus now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.