Listing 5: Sample syslog configuration file
#ident "@(#)syslog.conf 1.4 96/10/11 SMI" /* SunOS 5.0 */
#
# Copyright (c) 1991-1993, by Sun Microsystems, Inc.
#
# syslog configuration file.
#
# This file is processed by m4 so be careful to quote (`') names
# that match m4 reserved words. Also, within ifdef's, arguments
# containing commas must be quoted.
#
#
# Kernel messages
#
kern.* /var/log/kernel.log
#
# mail system logs
#
mail.* /var/log/maillog
#
# cron logs
#
cron.* /var/log/cron.log
#
# Any messages from syslog
#
syslog.* /var/log/syslog
#
# All authentication messages
#
auth.* /var/log/secure
#
# tcp wrappers are using LOCAL0.NOTICE
#
local0.notice /var/log/tcpd.log
#
# Cisco Router logs at facility 20, level informational
#
local4.info /var/log/router.log
|