[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

syslog and sendmail

Hi -

My OpenBSD 3.0 /etc/syslog.conf contains:

*.info;mail.none            /var/log/messages
mail.notice                 /var/log/maillog

Yes, the selector and action fields are separated by tabs.

/var/log/maillog contains lots of messages like:

Feb  1 11:00:02 myhost sm-mta[14504]: g11G02x9014504: from=<root_(_at_)_mydomain_(_dot_)_org>, size=514, class=0,
nrcpts=1, msgid=<200202011600_(_dot_)_g11G02CQ003522_(_at_)_mydomain_(_dot_)_org>, proto=ESMTP, daemon=MTA,
relay=localhost []

Feb  1 11:00:02 myhost sm-mta[10775]: g11G02x9014504: to=<root_(_at_)_mydomain_(_dot_)_org>,
ctladdr=<root_(_at_)_mydomain_(_dot_)_org> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30525,
dsn=2.0.0, stat=Sent

How can I tell what level (emerg, alert, crit, err, warning, notice, info, debug)
a log message is?  Is there something in the message that identifies what level
generated it?

Thanks -
Great stuff seeking new owners in Yahoo! Auctions!