– The logrotate daemon mainly reads all the configuration from file /etc/nf and then includes daemon specific configuration files from /etc/logrotate.d/ directory. Table below lists the standard priorities and their meanings : Priority The priority of a message signifies the importance of that message. Messages generated internally by system log daemon Messages from system daemons without separate facility Security/authorization messages (private) The table below lists the standard facilities and their description : Facility Thus enabling the syslog daemon to handle different sources differently. The facility is used to specify which type of program or application is generating the message. The configuration file basically provides rules statements which in turn provides 2 things : The configuration file – /etc/nf for the rsyslogd daemon is used to handle all the messages. – support for precise timestamps to log messages that the syslog daemon. – it is possible to filter messages on any part of log message rather than the priority of the message and the original facility.
– with Rsyslog daemon you can specify multiple destination hosts/files for messages delivery if rsyslogd is unable to deliver a message to aprticular destination.
TCP uses the acknowledgment and retransmission capabilities. – Rsyslog uses TCP instead of UDP which is more reliable. Few of the benefits rsyslog daemon provides over syslog-ng are : Rsyslog is the new logging daemon starting RHEL6 to compete with the old syslog-ng daemon. The system log daemon/service and it’s configuration file differs depending on the version of Linux used i.e.: So, for problem diagnosis / monitoring the /var/log/messages is the primary log file to examine. The kernel modules generally dumps there too.
Among the logs under /var/log the /var/log/messages is the most common one as the kernel / core system logs are held there. Where some of the logs are dumped under a subdirectory like cups, samba, httpd. Acpid cron.1 maillog.3 rpmpkgs.3 spooler.3Īnaconda.log cron.2 maillog.4 rpmpkgs.4 spooler.4Īnaconda.xlog cron.4 messages.1 samba tallylogĪudit cups messages.2 scrollkeeper.log vboxīoot.log.1 faillog messages.4 secure.1 Xorg.0.logīoot.log.2 gdm oracle-validated secure.2 Xorg.0.log.old