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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. */ |
|
|||
|
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 |
|
|||
|
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. |