Quick (stupid?!) Q: Syslog not logging

From: Bruntel, Mitchell L, ALABS (mbruntel@att.com)
Date: Mon Aug 25 2003 - 09:10:27 EDT


OK. I've been thru this before, but couldnt remember where:
Syslog isnt.
I've tried checking commands in the /etc/syslog.conf file.

I've tried stopping/staring syslog via /etc/init.d/syslog stop, start
which just gives me a blank file again.

and... while I'm at it, can/how would I add a line to log all
sudo occurances? --but my guess is that sudo automatically calls the logging
facility
and (s/w)ould (neatly deposit messages in /var/adm/messages.

What simple step have I overlooked at this hour on a monday morning?
Thanks in advance

--my /etc/syslog.conf file: --

*.info /var/adm/messages
*.err /dev/sysmsg
*.alert /var/adm/messages
*.emerg root
kern, mark.debug /var/adm/messages
#
#*.err /var/adm/messages
#*.err;kern.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 *
# 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 *
)
auth.debug /var/adm/authlog
auth.notice /var/adm/authlog
auth.info /var/adm/authlog
#*.info /var/adm/messages
#*.err /dev/sysmsg
#*.alert /var/adm/messages
#*.emerg /var/adm/messages
#mail.debug /var/adm/maillog
#mail.info /var/adm/maillog
#mail.notice /var/adm/maillog
#mail.err /var/adm/maillog
#mail.emerg /var/adm/maillog
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:58 EDT