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
Unable to activate the log #14334
Comments
It's only created when something is actually logged. We're actually not too big on logging and usually only logging when something goes wrong. Maybe put a line like |
Thank you @tsteur for you answer. I followed your instructions and I navigated on the UI but unfortunately without result |
I am not entirely sure if this isn't a bug in Matomo. Maybe this is a regression from one of the recent logging changes |
I can reproduce it when the |
Actually I can't reproduce it. I had a mistake in the config file. Tested various cases with and without instanceId etc. Maybe only happens with some specific PHP version or so. The file that does it is I doubt we can do much on our side here. If someone could debug this, that would be great. We may have a look if someone can provide access to a server and Matomo where this can be reproduced. Make otherwise sure the config section isn't defined twice etc. |
@floSoX For me manually applying https://patch-diff.githubusercontent.com/raw/matomo-org/matomo/pull/14296.patch does fix the issue (you can ignore the change in (thanks to @diosmosis for the tip) |
I still have this issue with Matomo v3.9.1. PHP version I am using is php 7.2 by red had software collections. I am going to try to apply the patch manually. |
The patch actually solves the problem. Should be applied in next Matomo version. |
Matomo Version: 3.9.1
PHP Version: tested with 7.0.33 and 7.3.3
Middleware: Apache 2.4
OS : Debian
I followed the instructions of https://matomo.org/faq/troubleshooting/faq_115/ to enable log in Matomo.
So I added:
in my config/config.ini.php
I checked if the Monolog Plugin was enabled and it was.
But no log file is created.
I try to add
but same result.
I also try to log in database but nothing still visible in LogViewer plugin.
Could you please tell me if I miss something?
Thank you in advance.
Regards,
The text was updated successfully, but these errors were encountered: