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
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
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.
[email protected]:~$ 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 --
It will be in the next rolling (any rolling newer then vyos-1.3-rolling-202006070117-amd64.iso)