Page MenuHomeVyOS Platform

logging across boot
Open, Requires assessmentPublicFEATURE REQUEST


The code now has a way to allow logging across reboots. It was noted in the parent task that file permissions could cause issues.


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

Related Objects

OpenFEATURE REQUESTthomas-mangin

Event Timeline

Since PR#376 I'm getting nothing logged into the file set by vyos.log.debug at all:

-rwxrwxr-x 1 root   vyattacfg 268863 Apr 25 14:20 vyos.debug.log
-rwxrwxr-x 1 root   vyattacfg     32 Apr 21 19:32 vyos.ifconfig.debug
-rwxrwxr-x 1 root   vyattacfg     23 Apr 21 19:42 vyos.log.debug

The logging library should chmod this file 666 so all scripts can write to it instead of failing to log anything if it's not the correct permissions. Does it create the logfile with the correct permissions if I'd delete it?

erkin set Issue type to Feature (new functionality).Aug 30 2021, 6:35 AM
erkin removed a subscriber: Active contributors.