diff options
| author | 2019-01-08 00:06:01 +0100 | |
|---|---|---|
| committer | 2019-01-08 00:06:01 +0100 | |
| commit | b73d4c807f8bce7090eb0d37cf4448dbb248ba2b (patch) | |
| tree | c8e5b18ebfaee6b351a2cd90824ffa596f517285 /lib | |
| parent | 15d74d934708896706278574af159a9dcb3a4313 (diff) | |
COPY_SYSLOG_TO_STDERR (#2213)
Update of https://github.com/FreshRSS/FreshRSS/pull/2208
Fixes https://github.com/FreshRSS/FreshRSS/issues/2212
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lib_rss.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index 738ccf641..89e9ddfea 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -203,7 +203,7 @@ function html_only_entity_decode($text) { } function prepareSyslog() { - return openlog("FreshRSS", LOG_PERROR | LOG_PID, LOG_USER); + return COPY_SYSLOG_TO_STDERR ? openlog("FreshRSS", LOG_PERROR | LOG_PID, LOG_USER) : false; } function customSimplePie($attributes = array()) { |
