Linux: Log Files

Linux: Log Files

Daemon:             syslogd
sysklogd               this is the package that  installs syslogd
klogd                    this is the daemon that logs kernel messages only
/etc/syslog.conf                              config file for syslogd

logger                 
This tool creates manual log entries
Options:
-i             records PID
-s            echos data to stderr and log file
Rotating log files
logrotate             tool for rotating log files
/etc/logrotate.conf         config file for logrotate
Watching logs
This is the most important cmd to see whats happening:

tail –f /var/log/messages

No comments:

Powered by Blogger.