Page 1 of 1

Stop endless logging when DSL link down

Posted: Wed Jan 11, 2017 12:01 pm
by RLithgo
Is it possible to stop this.... fills the log with useless information.

16:58:52 pppoe,ppp,info pppoe-TrueDSL: initializing...
16:58:52 pppoe,ppp,info pppoe-TrueDSL: connecting...
16:59:02 pppoe,ppp,info pppoe-TrueDSL: terminating... - disconnected
16:59:02 pppoe,ppp,info pppoe-TrueDSL: disconnected
16:59:12 pppoe,ppp,info pppoe-TrueDSL: initializing...
16:59:12 pppoe,ppp,info pppoe-TrueDSL: connecting...
16:59:23 pppoe,ppp,info pppoe-TrueDSL: terminating... - disconnected
16:59:23 pppoe,ppp,info pppoe-TrueDSL: disconnected
16:59:33 pppoe,ppp,info pppoe-TrueDSL: initializing...
16:59:33 pppoe,ppp,info pppoe-TrueDSL: connecting...
16:59:43 pppoe,ppp,info pppoe-TrueDSL: terminating... - disconnected
16:59:43 pppoe,ppp,info pppoe-TrueDSL: disconnected
16:59:53 pppoe,ppp,info pppoe-TrueDSL: initializing...
16:59:53 pppoe,ppp,info pppoe-TrueDSL: connecting...

Re: Stop endless logging when DSL link down

Posted: Wed Jan 11, 2017 12:18 pm
by pe1chl
Of course. You go to System->Logging and in the entry for topic "info" you add "! pppoe" (pppoe with ! in the square before it)

Re: Stop endless logging when DSL link down

Posted: Thu Jan 12, 2017 12:06 am
by RLithgo
Thanks for the reply. That would stop all pppoe logging. But i only want to stop the endless 10 second retries when the link is down.
Like after 5 failed connection attempts stop the logging but then resume when the interface finally connects.
And also i have multiple pppoe interfaces so it needs to be specific to the interface.

Is this possible?

Re: Stop endless logging when DSL link down

Posted: Thu Jan 12, 2017 10:36 am
by pe1chl
No. But it does not stop all logging, it stops only "info" logging, not errors, warnings etc.
What you specify is not possible, the logging filter mechanism cannot match on message content.