Insider Tips: Logrotate

TURNING THE LOGS

Article from Issue 62/2006
Author(s):

Every multi-purpose Linux system produces an enormous amount of log data. To prevent your hard disk from overflowing, a rotating helper application archives logs and gets rid of obsolete data.

You have to be a very special kind of person to actually enjoy evaluating logfiles. But you have to admit that the logfiles in /var/log give administrators exactly the kind of information they need to discover the origins of mysterious system errors. Log files also provide information on whether services on the system are working. If you have any trouble installing a daemon or running a script, the logs can tell you what went wrong. Paranoid admins – and that should be all of us – check their systems for unauthorized access and block any traces they find.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • check_logfiles

    The Nagios check_logfiles plugin helps you monitor your logfiles – even if the logs rotate and change names.

  • Firewall Logfile Analyzers

    Netfilter firewalls create highly detailed logfiles that nobody really wants to inspectmanually. Logfile analysis tools like IPtables Log Analyzer,Wallfire Wflogs,and FWlogwatch help administrators keep track of developments and filter for importantmessages.

  • Managelogs Handles Apache Logs

    The managelogs program manages the Apache Web server generated log files. For version 2.0.0 the developers made some changes to the build.

  • BleachBit

    Many Linux services and applications create a continuous log of their activities. BleachBit cleans up the resulting log files conveniently and efficiently.

  • Logfile Viewers

    While users are surfing the web, listening to music, and writing documents, the kernel and various background daemons write information to logfiles. KSystemLog, Gnome System Log Viewer, and MultiTail will help you read and process logfile data.

comments powered by Disqus

Direct Download

Read full article as PDF:

Admin_Workshop_Logrotate.pdf (137.61 kB)

News