Sysklogd

Environment variables

 * VAR1
 * VAR2

Files
Sysklogd is the most common logger for Linux and Unix in general. It has some log rotation facilities, but using /usr/sbin/logrotate in a cron job (logrotate is configured in /etc/logrotate.conf) might prove to be more powerful as logrotate has many features. How often log rotation should be done depends on the system load.

Below is the standard syslog.conf with some added features. The following cron and tty lines have been uncommented and a remote logging server had been added. To further enhance security could add logging to two places.


 * - Global (system wide) configuration file.
 * - Local (per user) configuration file.

Issue 1
When X happens, Y is how to fix it.

External resources

 * Wikipedia's article about the Syslog protocol
 * RFC 5424 - The Syslog Protocol
 * RFC 3164 - The BSD syslog Protocol