Open StyXman opened 5 months ago
Log sent to syslog has some error-level information (ERROR, WARNING, NOTICE). The management also gets flags indicating the error type. Including it in the console/file log as well looks useful.
We also have an option to enable better parsable log output
We also have an option to enable better parsable log output
Unforunately --machine-readable-output
prints flags as a number (hex) that makes sense only internally to OpenVPN (like M_ERRNO|M_NONFATAL = 120
in hex).
That said, parsing only the ~first~ high nibble of the last byte of flags may be enough for most users, so documenting that could be a way to go.
Describe the bug
This is a wish. When writing logs, please include severity.
To Reproduce
Expected behavior I can't tell which is the error. The first two lines are probably warnings, then a couple of info lines, then an error, then either info or error.
Version information (please complete the following information):