View Single Post

  #2 (permalink)  
Old 04-29-2004
Clifford Kite
 
Posts: n/a
Default Re: disabling PPP messages from syslog

Karel Kozlik <kozlik@kufr.cz> wrote:

> my /var/log/messages is full of messages like this:


> Apr 29 00:01:28 VHB2router pppd[17506]: pppd 2.4.1 started by root, uid 0
> Apr 29 00:01:28 VHB2router pppd[17506]: Using interface ppp0
> Apr 29 00:01:28 VHB2router pppd[17506]: Connect: ppp0 <--> /dev/ttyS0
> Apr 29 00:01:28 VHB2router /etc/hotplug/net.agent: assuming ppp0 is
> already up
> Apr 29 00:01:59 VHB2router pppd[17506]: LCP: timeout sending Config-Requests
> Apr 29 00:01:59 VHB2router pppd[17506]: Connection terminated.
> Apr 29 00:01:59 VHB2router pppd[17506]: Exit.
> Apr 29 00:01:59 VHB2router /etc/hotplug/net.agent: invoke ifdown ppp0



> Have you any idea how to disable this loging? I disabled all logs in ppp
> but with no effect. Here is my ppp options file:


Why do you want to disable them? There is no pppd option for doing so,
they are minimal messages pppd aways sends. You would have to edit the
pppd source code. I can only wish you "good luck" there. Or disable
any messages from being sent by syslogd from the local2 facility or
with the warn log level by editing /etc/syslog.conf, which would mean
no messages from anything else using local2 or warn would be logged.

I don't know anything about "net.agent," except that it appears in some
posts with questions regarding pppd. Very likely distribution dependent.

--
Clifford Kite Email: "echo xvgr_yvahk-ccc@ri1.arg|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* Those who can't write, write manuals. */
Reply With Quote