Page MenuHomeVyOS Platform

Remove logfile for dialup interfaces like pppoe and wwan
Closed, ResolvedPublicFEATURE REQUEST

Description

There is no "real reason" for a dedicated logfile as everything is logged to journald/syslog

Also the logfile caused more harm (permissions) in the past then it was good for.

Drop the op-mode commands

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Improvement (missing useful functionality)

Event Timeline

c-po changed the task status from Open to In progress.May 21 2020, 4:42 PM
c-po claimed this task.
c-po created this task.

Just found this ticket after upgrading and wondering where the show interfaces pppoe pppoe0 log command had gone. I did find it useful to check why a PPPoE interface hadn't come up.

Is documentation included in your definition of done? Or should it be a different ticket?

https://docs.vyos.io/en/latest/interfaces/pppoe.html#opcmd-show-interfaces-pppoe-interface-log

Is it possible to get the log lines just for a single interface from syslog? (other than grep)

The "auto grep" could be added to show log indeed that it only displays you pppoe stuff.

Main reason was to remove the "double log" once to systemd/journald/syslog and then to a dedicated logfile in addition.

@njh you have been right that command can be quiet handy, but instead of using a logfile we query "journalctl" for the appropriate logs.

vyos@vyos:~$ show interfaces pppoe pppoe0 log
-- Logs begin at Sun 2020-06-07 11:59:03 CEST, end at Sun 2020-06-07 14:28:39 CEST. --
-- No entries --

Ah, nice! I will update to the rolling release and give it is go soon.

It will be in the next rolling (any rolling newer then vyos-1.3-rolling-202006070117-amd64.iso)

erkin set Issue type to Improvement (missing useful functionality).Aug 30 2021, 6:06 AM
erkin removed a subscriber: Active contributors.