This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.

修性不修命,萬劫陰靈難入聖; 修命不修性,猶有家財無主柄
Album | Blog | Comment | Profile | Control Panel
aquatower | 3 August,2009 0:16

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空間要足夠, 不然會爆掉



Comment

Trackback

Comment Permissions: Only members may comment. If you are not a PIXNET member, click here to sign up.