RE: syslog config

[ Available lists | Index of freebsd-stable | Month of Jul 2001 | Week of 17 Jul 2001 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Kanno, Ken <kkanno@rivenet.com>
Date
17 Jul 2001 12:12:38
Subject
RE: syslog config
Message-ID
0C3A66859AEF6E42A1B4AB53307B77AA0AF4D1@ex02.ad.rivenet.com

Referenced by

[ Hide this part ]
Where should I add this "!*"?

I tried adding one on a new line before my local4.emerg and killed syslog
and restarted it. Nothing had changed. Everyghing ends up in messages.

-----Original Message-----
From: David Malone [mailto:dwmalone@maths.tcd.ie]
Sent: Tuesday, July 17, 2001 2:05 PM
To: Kanno, Ken
Cc: 'stable@freebsd.org'
Subject: Re: syslog config


> !startslip
> *.* /var/log/slip.log
> !ppp
> *.* /var/log/ppp.log
>
> local4.emerg /opt/syslog/pix_msg0
> local4.alert /opt/syslog/pix_msg1
> local4.crit /opt/syslog/pix_msg2
> local4.error /opt/syslog/pix_msg3
> local4.warn /opt/syslog/pix_msg4
> local4.notice /opt/syslog/pix_msg5
> local4.info /opt/syslog/pix_msg6
> local4.debug /opt/syslog/pix_msg7

You have put the new lines after a "!ppp" line, which means that it
will only log if the program name is ppp. Try adding "!*" to indicate
all programs.

David.


[ Show this part (text/html) ]