请教solaris 8的syslog文件大小总是0?
solaris 8的系统,/var/log/syslog 文件总是空的呀?请教这是什么原因呢?
$ ls -al
total 43734
drwxr-xr-x 2 root sys 512 Jun 4 11:29 .
drwxr-xr-x 35 root sys 512 Mar 27 09:50 ..
-rw------- 1 root sys 0 Mar 19 12:32 authlog
-rw-r--r-- 1 root other 216 Mar 19 13:12 sysidconfig.log
-rw-r--r-- 1 root other 0 May 19 08:00 syslog
-rw-r--r-- 1 root other 3252461 May 19 08:00 syslog.0
-rw-r--r-- 1 root other 3641657 May 12 08:00 syslog.1
-rw-r--r-- 1 root other 4818729 Apr 29 03:08 syslog.2
-rw-r--r-- 1 root other 5184053 Apr 21 08:00 syslog.3
-rw-r--r-- 1 root other 4666492 Apr 14 09:33 syslog.4
-rw-r--r-- 1 root other 483874 Apr 8 03:02 syslog.5
-rw-r--r-- 1 root sys 247691 Mar 24 14:00 syslog.6
$ cat /etc/syslog.conf
#ident "@(#)syslog.conf 1.5 98/12/14 SMI" /* SunOS 5.0 */
#
# Copyright (c) 1991-1998 by Sun Microsystems, Inc.
# All rights reserved.
#
# syslog configuration file.
#
# This file is processed by m4 so be careful to quote (`') names
# that match m4 reserved words. Also, within ifdef's, arguments
# containing commas must be quoted.
#
*.err;kern.notice;auth.notice /dev/sysmsg
*.err;kern.debug;daemon.notice;mail.crit /var/adm/messages
*.alert;kern.err;daemon.err operator
*.alert root
*.emerg *
# if a non-loghost machine chooses to have authentication messages
# sent to the loghost machine, un-comment out the following line:
#auth.notice ifdef(`LOGHOST', /var/log/authlog, @loghost)
mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)
#
# non-loghost machines will use the following lines to cause "user"
# log messages to be logged locally.
#
ifdef(`LOGHOST', ,
user.err /dev/sysmsg
user.err /var/adm/messages
user.alert `root, operator'
user.emerg *
)
thx