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), and kernel/firewall msgs to
# their respective log files
mail.*                    -/var/log/mail
kern.*                    -/var/log/kernel_n_firewall
# save the rest in one file
*.*;mail.none             -/var/log/messages
  
  
  
  
  
  
  
  
  
    Copyright © 1994 - 2018 Linux Journal.  All rights reserved.