Page MenuHomeVyOS Platform

logging across boot
Closed, WontfixPublicFEATURE REQUEST

Description

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

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
Feature (new functionality)

Related Objects

StatusSubtypeAssignedTask
ResolvedFEATURE REQUESTthomas-mangin
WontfixFEATURE REQUESTViacheslav

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.
Viacheslav claimed this task.
Viacheslav added a subscriber: Viacheslav.

Needs to revisit
Close it for now, as the parent task is closed.