-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
logger_level at NONE cliupdate.php issues DEBUG output #1077
Comments
Hmm, apparently Monolog uses a fallback handler when we do not add any handlers: https://github.com/Seldaek/monolog/blob/4d5b7e6ba1127789c7ff59d6f762298eaa29787f/src/Monolog/Logger.php#L294-L296 This is fixed in 2395a12, thank you for reporting this. |
Awesome and thank you for the fast turnaround! Any "rough" target dates for 2.19 release? |
We are blocked on #1014 and I am not sure when I will have large enough time window to debug the two remaining issues so I am unable to give any time frame. However, the development builds are usually more reliable than stable releases since they include many bug fixes; I would recommend you to just use https://bintray.com/fossar/selfoss/download_file?file_path=selfoss-2.19-a5841a5.zip |
Oddly I'm seeing the same behavior with the latest stable version 2.19. Updated today, and the servers HD has been filling like crazy (caught it at 99% and a log file of 8 GB, even though logger_level is set to NONE). Sample from the logs...
Seems like more or less the entire feed content is ending up in the logs, too. |
@GutHib just to double check, what do you see if you modify selfoss as follows: --- a/src/common.php
+++ b/src/common.php
@@ -48,6 +48,7 @@ $f3->set('BASEDIR', BASEDIR);
$configuration = new Configuration(__DIR__ . '/../config.ini', $_ENV);
+var_dump($configuration->loggerLevel, $configuration->debug);
$f3->set('DEBUG', $configuration->debug);
$f3->set('cache', $configuration->cache);
Do you have this line in your Lines 244 to 245 in 3858ad4
|
|
|
The output is:
...when set to "NONE". When set to "ERROR", it is:
|
Works now after putting 'NONE' in single quotes. I noticed the same with the password, had to put it in (single) quotes after the update. |
I am hosting a selfoss 2.18 installation on nearlyfreespeech.net. When I set the logger_level to NONE, cron outputs for the cliupdate.php seem to default to DEBUG. All the other options for logger_level run at the appropriate levels.
My cron line is like so:
/usr/local/bin/php7.2 /home/public/cliupdate.php
Let me know if you need other info.
The text was updated successfully, but these errors were encountered: