Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-13 | cmd: T2226: improve debugging | Thomas Mangin | |
allow to setup the debugging from environment variables. allow to set the name of the file used for logging change the name of the debug options to be: - developer: enable pdb of raise - log: all logging messages are logged to a file - ifconfig: show on screen action peformed to change intefaces - command: print all the result of command to screen also provide a way to setup the debugging using environment variables. | |||
2020-04-08 | logging: T2186: cosmetic changes | Thomas Mangin | |
2020-04-08 | logging: T2186: Initial implementation of logging | Thomas Mangin | |
All messages sent to stderr are now logged to syslog. Also should a raise statement not be handled by the program, a friendlier message is sent to the user (with the trace to syslog) It provide a new debug option: /tmp/vyos.developer.debug when the file exists and the code raise without being caught up the program will automatically fall into pdb port-morterm mode allowing to investigate the reason for the failure |