Syslogd and Klogd Configuration

configuration: /etc/syslog.conf

Syntax:
facility.priority log_location

Ex:
mail.info /dev/tty8


Facility:
-------------------------------------------------------------
authpriv: security/authorization messages
cron: clock daemons(crond)
daemon: other daemons
kern: kernel messages
local[0-7]: reserved for local use
lpr: printing system
mail: mail sytem
news: news system
syslog: internal syslog messages
user: generic user level messages

Priority:
-----------------------------------------------------------
debug(high): debugging information
info : general informative messages
notice : normal, but significant, condition
warning : warning messages
err : error condtition
crit : critical condtion
alert : immediate action required
emerg(low) : system no longer available

%若要用debug, /var空間要足夠, 不然會爆掉

arrow
arrow
    全站熱搜

    aquatower 發表在 痞客邦 留言(0) 人氣()