The code now has a way to allow logging across reboots. It was noted in the parent task that file permissions could cause issues.
Description
Description
Details
Details
- Version
- -
- Is it a breaking change?
- Unspecified (possibly destroys the router)
- Issue type
- Feature (new functionality)
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | FEATURE REQUEST | thomas-mangin | T2226 unify all the ways commands are run | ||
Wontfix | FEATURE REQUEST | Viacheslav | T2377 logging across boot |
Event Timeline
Comment Actions
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?