Fix logging environment constants (#2745)
* Fix logging environment constants * COPY_LOG_TO_SYSLOG was only working when Syslog was used * FRESHRSS_ENV was not properly used to set logging level * Simplify code Always call `openlog()` even when it is not used * Always specify syslog properties https://github.com/FreshRSS/FreshRSS/pull/2745#discussion_r362207445 * $username is also needed further down * No new line in syslogpull/2749/head^2
parent
94db40a742
commit
acc50df0ef
6 changed files with 19 additions and 21 deletions
Loading…
Reference in new issue