Community discussions

MUM Europe 2020
 
RLithgo
newbie
Topic Author
Posts: 30
Joined: Mon Dec 12, 2016 12:21 am

Stop endless logging when DSL link down

Wed Jan 11, 2017 12:01 pm

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...
 
pe1chl
Forum Guru
Forum Guru
Posts: 6131
Joined: Mon Jun 08, 2015 12:09 pm

Re: Stop endless logging when DSL link down

Wed Jan 11, 2017 12:18 pm

Of course. You go to System->Logging and in the entry for topic "info" you add "! pppoe" (pppoe with ! in the square before it)
 
RLithgo
newbie
Topic Author
Posts: 30
Joined: Mon Dec 12, 2016 12:21 am

Re: Stop endless logging when DSL link down

Thu Jan 12, 2017 12:06 am

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?
 
pe1chl
Forum Guru
Forum Guru
Posts: 6131
Joined: Mon Jun 08, 2015 12:09 pm

Re: Stop endless logging when DSL link down

Thu Jan 12, 2017 10:36 am

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.

Who is online

Users browsing this forum: barracuda, bpwl, mkx, Uakademi and 82 guests