1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 01:46:00 +00:00

fix 'logging to...' output line not respecting quiet setting

This commit is contained in:
Andrew Dolgov
2019-01-21 12:19:26 +03:00
parent 506ddd8297
commit 6eccac95f2

View File

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