Prev | Current Page 909 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

9.61 on page 1040) level is different from the syslog
priority. The former is used internally by sendmail to decide whether it should log
a message. The latter is used by syslog to determine how it will dispose of the
message.
The LogLevel option sets a threshold at and below which sendmail will issue warnings.
When the LogLevel option has a zero value, essentially nothing is ever issued.
When the LogLevel option has a low value, only critical warnings are issued. At
higher values, less critical messages are also logged.
The syntax of the LogLevel option and the kinds of information issued for each level
are explained in ?§24.9.61 on page 1040. For eachlevel, all the information produced
at lower levels is also issued. That is, setting the LogLevel option to 9 causes messages
for levels 1 through 8 also to be issued.
The relationship between the LogLevel option logging levels and syslog priorities is
shown in Table 14-1. Note this relationship is not strictly adhered to by sendmail.
14.3.2 Tuning syslog.conf
Although all messages are emitted by sendmail using a single facility, that of syslog,
they need not all arrive at the same place. The disposition of messages is tuned by the
syslog.conf file.
The file syslog.conf (usually located in the /etc directory) contains routing commands
for use by syslog. That file can be complex because it is designed to handle messages
from many programs other than sendmail, even messages from the kernel itself.


Pages:
897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921
szalunki bramy okna aluminiowo - drewniane oferty spa części do przyczep częstochowa