airbag.py code looks at /tmp and /config for a file vyos.{flag}.debug. It also says it should write the log to /tmp/developer-log or to the path set inside the flag file, but my testing shows it doesn't actually work. The way to use the flags should be documented.
Description
Description
Details
Details
- Version
- -
- Is it a breaking change?
- Perfectly compatible
- Issue type
- Feature (new functionality)
Event Timeline
Comment Actions
Ah, I figured it out - the contents of vyos.log.debug are used as the path to the logfile, if empty (but present) the default /tmp/developer-log will be used, otherwise no logfile will be written. But I think I've hit a bug - if multiple 'flag' are set (other than 'log') the system hangs during boot.