MDLog:/sysadmin: Rotating Linux Log Files
Jun 08, 2006, 07:00 (0 Talkback[s])
(Other stories by Marius Ducea)
Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers
[ Thanks to Marius Ducea for this
Logs... Any Linux system will generate many log files by
default, containing various information about the operation of the
system (normal actions, debugging information,
security/authorization messages, web/email events, etc). If no
rotation would occur on the various log files, then they will just
grow bigger and bigger, filling up the space (on high traffic
sites) but most importantly making it very difficult to find any
information that we might be looking for in those log files.
Fortunately this is handled in most Linux distributions by default
and we don't have anything special to do to set it up... if will
function out of the box, rotating the log files by default..."