Quick (stupid?!) Q: Syslog not logging

Bruntel, Mitchell L, ALABS mbruntel at att.com
Mon Aug 25 09:14:18 EDT 2003


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 at sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



More information about the summaries mailing list