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
|