stubby icon indicating copy to clipboard operation
stubby copied to clipboard

Log to syslog when running in background

Open chrisnovakovic opened this issue 1 year ago • 0 comments

Log messages are unconditionally written to stderr, and are therefore lost after the fork when running in the background (-g). If syslog support is detected at compile time, and provided we're not on a platform for which an alternative non-stderr logging facility is provided (i.e. Windows), send log messages to syslog when running in the background.

chrisnovakovic avatar Sep 25 '23 21:09 chrisnovakovic