View Single Post

  #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