Merge branch 'quiet_daemon_2' of Gravemind/tt-rss into master

This commit is contained in:
fox 2019-02-13 11:51:48 +00:00 committed by Gogs
commit 510f99fa25
1 changed files with 1 additions and 1 deletions

View File

@ -159,9 +159,9 @@
} }
if (isset($options["log"])) { if (isset($options["log"])) {
Debug::set_quiet(isset($options['quiet']));
Debug::set_logfile($options["log"]); Debug::set_logfile($options["log"]);
Debug::log("Logging to " . $options["log"]); Debug::log("Logging to " . $options["log"]);
Debug::set_quiet(isset($options['quiet']));
} else { } else {
if (isset($options['quiet'])) { if (isset($options['quiet'])) {
Debug::set_loglevel(Debug::$LOG_DISABLED); Debug::set_loglevel(Debug::$LOG_DISABLED);