- 论坛徽章:
- 0
|
我的配置文件:\r\n\r\n# more /etc/syslog.conf\r\n#ident \"@(#)syslog.conf 1.5 98/12/14 SMI\" /* SunOS 5.0 */\r\n#\r\n# Copyright (c) 1991-1998 by Sun Microsystems, Inc.\r\n# All rights reserved.\r\n#\r\n# syslog configuration file.\r\n#\r\n# This file is processed by m4 so be careful to quote (`\') names\r\n# that match m4 reserved words. Also, within ifdef\'s, arguments\r\n# containing commas must be quoted.\r\n#\r\n*.err;kern.notice;auth.notice /dev/sysmsg\r\n*.err;kern.debug;daemon.notice;mail.crit /var/adm/messages\r\n\r\n*.alert;kern.err;daemon.err operator\r\n*.alert root\r\n\r\n*.emerg *\r\n\r\n# if a non-loghost machine chooses to have authentication messages\r\n# sent to the loghost machine, un-comment out the following line:\r\nauth.notice ifdef(`LOGHOST\', /var/log/authlog, @loghost)\r\n\r\nmail.debug ifdef(`LOGHOST\', /var/log/syslog, @loghost)\r\n\r\n#\r\n# non-loghost machines will use the following lines to cause \"user\"\r\n# log messages to be logged locally.\r\n#\r\n#ifdef(`LOGHOST\', ,\r\nuser.err /dev/sysmsg\r\nuser.err /var/adm/messages\r\nuser.alert `root, operator\'\r\nuser.emerg *\r\n)\r\n\r\n# netscreen syslog modify\r\n#*.* /var/log/fwsyslog.log\r\nlocal0.* ifdef(\'LOGHOST\',/var/log/fwlog.log,@loghost)\r\n*.* /var/log/syslog-all.log\r\n\r\n\r\n#\n\n[ 本帖最后由 lz_yq 于 2007-3-29 11:21 编辑 ] |
|