Linux Logging Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 8: Line 8:


==rsyslogd Log Rotation Configuration==
==rsyslogd Log Rotation Configuration==
rsyslogd-managed log files can be automatically rotated. The logrotate package contains a cron task that rotates log files based on the configuration found in /etc/logrotate.conf and /etc/logrotate.d/.


=journald Configuration=
=journald Configuration=


More details about [[Linux_Logging_Concepts#journald|journald]].
More details about [[Linux_Logging_Concepts#journald|journald]].

Revision as of 18:15, 25 June 2017

Internal

rsyslogd Configuration

The main rsyslogd configuration file is /etc/rsyslog.conf.

rsyslogd Log Rotation Configuration

rsyslogd-managed log files can be automatically rotated. The logrotate package contains a cron task that rotates log files based on the configuration found in /etc/logrotate.conf and /etc/logrotate.d/.

journald Configuration

More details about journald.