5476l1

Listing 1. A Sample syslog.conf File

# Sample syslog.conf file that sorts messages by mail, kernel, and "other,"
# and broadcasts emergencies to all logged-in users

# print most sys. events to tty10 and to the xconsole pipe, and emergencies to everyone

kern.warn;*.err;authpriv.none    |/dev/xconsole
*.emerg                          *

# send mail, news (most), & kernel/firewall msgs to their respective logfiles
mail.*                          -/var/log/mail
kern.*                          -/var/log/kernel_n_firewall

# save the rest in one file
*.*;mail.none                   -/var/log/messages
