pppd messages to file

This is a discussion on pppd messages to file within the Linux Networking forums, part of the Linux Forums category; stewart menday <stewart at webstorm.net.au> wrote: > In your original reply you only mentioned syslog.conf ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 12-31-2003
Clifford Kite
 
Posts: n/a
Default Re: pppd messages to file

stewart menday <stewart at webstorm.net.au> wrote:

> In your original reply you only mentioned syslog.conf and I still
> cannot see how to separate the pppd messages from all the other
> daemon messages, do you?


You can't. There will be other processes that use some of the same
syslogd message channels that pppd or chat use.

> As far as I can tell it will not separate anything other then the
> specified facilities, auth, authpriv, cron, daemon, kern, lpr,
> mail, mark, and news. If you know of a way to further separate
> the daemon facility then please let me know.


There is no reasonable way to separate them, but you can reduce the
unwanted messages by selecting only the message channels you need for
logging pppd and chat messages. I posted a reply that suggested a
syslog.conf line for a pppd/chat log that would contain relatively
few unwanted messages. It must have gone down a black hole...

>> > only way that I know of (now) is to use the logfile option.


The downside to logs generated by the logfile option is that they do
not contain timestamps, which are valuable in debugging some types of
pppd/chat problems.

--
Clifford Kite Email: "echo xvgr_yvahk-ccc@ri1.arg|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* Speak softly and carry a +6 two-handed sword. */
Reply With Quote
  #12 (permalink)  
Old 12-31-2003
P.T. Breuer
 
Posts: n/a
Default Re: pppd messages to file

Clifford Kite <kite@see.signature.id> wrote:
> stewart menday <stewart at webstorm.net.au> wrote:


> > In your original reply you only mentioned syslog.conf and I still
> > cannot see how to separate the pppd messages from all the other
> > daemon messages, do you?


> You can't. There will be other processes that use some of the same
> syslogd message channels that pppd or chat use.


Sure. But the appropriate response is "so what". (man grep, and look
for the "grep ppp" option ;).

> > As far as I can tell it will not separate anything other then the
> > specified facilities, auth, authpriv, cron, daemon, kern, lpr,


Those are all you can separate, since nothing else exists! And the
levels.

> > mail, mark, and news. If you know of a way to further separate
> > the daemon facility then please let me know.


> There is no reasonable way to separate them, but you can reduce the
> unwanted messages by selecting only the message channels you need for
> logging pppd and chat messages.


Sure.

> I posted a reply that suggested a
> syslog.conf line for a pppd/chat log that would contain relatively
> few unwanted messages. It must have gone down a black hole...


I doubt that. And even black holes have hair ..

> >> > only way that I know of (now) is to use the logfile option.


> The downside to logs generated by the logfile option is that they do
> not contain timestamps, which are valuable in debugging some types of
> pppd/chat problems.


Yep.

Peter
Reply With Quote
  #13 (permalink)  
Old 12-31-2003
Bill Unruh
 
Posts: n/a
Default Re: pppd messages to file

Clifford Kite <kite@see.signature.id> writes:

]stewart menday <stewart at webstorm.net.au> wrote:

]> In your original reply you only mentioned syslog.conf and I still
]> cannot see how to separate the pppd messages from all the other
]> daemon messages, do you?

There are not that many daemon messages. Especially when ppp is running
it is almost never the case that another daemon interrupts.
In my case the only other daemon that uses the daemon log is chrony.


]You can't. There will be other processes that use some of the same
]syslogd message channels that pppd or chat use.

Very few.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:27 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0