Skip to content
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

[DX] show hint that log is configured to "screen" instead of error message that logfile is not found #22

Open
dbu opened this issue May 9, 2020 · 3 comments

Comments

@dbu
Copy link

dbu commented May 9, 2020

i installed the matomo docker image and wanted to see logs. i found the log viewer plugin, installed it, but then only got the error that tmp/logs/matomo.log does not exist. eventually i found that the default in global.ini.php is log_writers[] = screen and once i added a log section with log_writers[] = file in config.ini.php, the plugin started to show logs.

it would be nice if the plugin could check the log writers configuration and show a warning instead that the log writers need to include file (or database? did not try that) for the plugin to work.

@tsteur
Copy link
Member

tsteur commented May 10, 2020

Thanks @dbu totally agreed 👍

@sgiehl
Copy link
Member

sgiehl commented Jul 29, 2020

Actually the plugin does show a info that no supported log writer is configured:

image

Didn't that show up for you @dbu ?

@dbu
Copy link
Author

dbu commented Jul 30, 2020

hm, i think it did not show this message. but maybe i missed it because i am new to the interface and there is a lot of things being visible. or maybe this got improved since when i used the docker image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants