Allow target file for NUT_DEBUG_SYSLOG #2705
Labels
documentation
enhancement
portability
We want NUT to build and run everywhere possible
service/daemon start/stop
General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug
Kicking off an enhancement discussion with this, I think it'd be great if
NUT_DEBUG_SYSLOG
from issue #2394 and PR #2550 would also offer:This would make it easier to direct users to gather debugging output and/or not have NUT pollute the SYSLOG from a single setting, without having to catch all various NUT daemons from the SYSLOG side (and having to re-configure the SYSLOG daemon for that, which may be harder). Ideally this could be seamlessly switched at runtime via this environment variable?
This would also allow for (automated) diagnosis mechanisms (e.g. within NUT plugins for Unraid, Home Assistant, ...), sampling logs into a separate file for
X
minutes (switching this environment variable back and forth) to include in debug packages...The text was updated successfully, but these errors were encountered: