Table of ContentsLibraryView in Frames

Sample /etc/syslog.conf file

The sample shows a customized /etc/syslog.conf file.

# Log anything of level info or higher to /etc/messages.
*.info                        /etc/messages

# Log all kernel messages of levels emerg, alert, crit,
# and err to /etc/messages.
kern.err                      /etc/messages

# Log all kernel messages, and anything of level err or
# higher to the console.
*.err;kern.*                  /dev/console

# Log all kernel messages and anything of level err or
# higher to a remote loghost system called adminhost.
*.err;kern.*                  @adminhost
# Log messages from the authentication system of level notice
# or higher to the /etc/secure.message file. This file has
# restricted access.
auth.notice                   /etc/secure.message