diff options
author | Wynn Wolf Arbor | 2021-01-26 20:48:13 +0100 |
---|---|---|
committer | Wynn Wolf Arbor | 2021-01-26 20:48:13 +0100 |
commit | bc9f2d8687625b7eafd70b9afba9fa71983a640a (patch) | |
tree | 2883a7fbee7226cb572a8416e18721cdceb7fb01 /Makefile | |
parent | 93770d7f1c78dab289d8edc597c65b3103da513d (diff) | |
download | slowcgi-bc9f2d8687625b7eafd70b9afba9fa71983a640a.tar.gz |
Do not send debug messages to syslog by default6.8.1
This partially reverts 56691b1 (Allow specifying -d multiple times,
2020-05-11). In that commit, a check for the debug variable in
syslog_debug was removed because a debug level of > 0 would have slowcgi
log to the console instead of syslog, making the check pointless.
However, this also means that slowcgi will now print debug messages by
default, even if run without the '-d' flag. The commit messages states
that the syslog daemon should handle debug output instead. We feel that
this is unsound reasoning, and that it goes against a de-facto standard
seen in the wild so far: only issue debug output (whether to console or
not), if specifically asked for.
Therefore, reintroduce the check for the debug variable. Whilst this
will in fact make the whole syslog_debug method pointless, we do not
want to commit to a complete rewrite of the debug functionality at this
time (even if such an undertaking is, in our opinion, warranted).
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions