Prev | Current Page 911 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

conf file might look like this:
*.err;kern.debug;user.none /dev/console
*.err;kern.debug;user.none /var/adm/messages
auth.notice @authhost
mail.info /var/log/syslog
*.alert;user.none *
Notice that there can be multiple facility.level pairs on the left, each separated
from the others by semicolons. The first two lines handle messages for all facilities at
level err, all kernel messages (kern) at level debug and above, and none of the levels
(none) for the facility user. The first line sends those messages to the file /dev/
console, the computer??™s screen. The second appends its messages to the file /var/
adm/messages.
Table 14-2. syslog.conf levels used by sendmail
Level Meaning of severity (highest to lowest)
alert Conditions requiring immediate correction
crit Critical conditions for which action can be deferred for a brief while
err Other errors
warning Warning messages
notice Nonerrors that might require special handling
info Statistical and informational messages
debug Messages used only in debugging a program
Table 14-3. syslog.conf targets
Target Description
@host Forward message to named host.
/file Append message to named file.
user,user,... Write to users??™ screens, if logged in.
* Write to all logged-in users??™ screens.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc.


Pages:
899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923
życzenia ślubne portal Connie Talbot gry on line pozycjonowanie