From owner-freebsd-stable Tue Jul 17 12:12:38 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.rivenet.com (dns2.rivenet.com [63.150.23.98]) by hub.freebsd.org (Postfix) with ESMTP id B63EA37B401 for ; Tue, 17 Jul 2001 12:12:28 -0700 (PDT) (envelope-from kkanno@rivenet.com) Received: from ex02.ad.rivenet.com (ex02.ad.rivenet.com [10.10.0.15]) by mail.rivenet.com (Postfix) with ESMTP id 49F6B64C0C; Tue, 17 Jul 2001 14:12:28 -0500 (CDT) Received: by ex02.ad.rivenet.com with Internet Mail Service (5.5.2653.19) id ; Tue, 17 Jul 2001 14:12:28 -0500 Message-ID: <0C3A66859AEF6E42A1B4AB53307B77AA0AF4D1@ex02.ad.rivenet.com> From: "Kanno, Ken" To: 'David Malone' , "Kanno, Ken" Cc: "'stable@freebsd.org'" Subject: RE: syslog config Date: Tue, 17 Jul 2001 14:12:28 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C10EF4.6B771560" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C10EF4.6B771560 Content-Type: text/plain; charset="iso-8859-1" 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. ------_=_NextPart_001_01C10EF4.6B771560 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: syslog config

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]<= /FONT>
Sent: Tuesday, July 17, 2001 2:05 PM
To: Kanno, Ken
Cc: 'stable@freebsd.org'
Subject: Re: syslog config


> !startslip
> = *.*           &nb= sp;           &nb= sp;           &nb= sp;         = /var/log/slip.log
> !ppp
> = *.*           &nb= sp;           &nb= sp;           &nb= sp;         = /var/log/ppp.log
>
> = local4.emerg          =             =             = /opt/syslog/pix_msg0
> = local4.alert          =             =             = /opt/syslog/pix_msg1
> = local4.crit          &= nbsp;           &= nbsp;           &= nbsp; /opt/syslog/pix_msg2
> = local4.error          =             =             = /opt/syslog/pix_msg3
> = local4.warn          &= nbsp;           &= nbsp;           &= nbsp; /opt/syslog/pix_msg4
> = local4.notice          = ;            = ;            = /opt/syslog/pix_msg5
> = local4.info          &= nbsp;           &= nbsp;           &= nbsp; /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.

------_=_NextPart_001_01C10EF4.6B771560-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message