I am trying to read some grafana logs. Based on this: https://grafana.com/docs/grafana/latest/installation/configuration/#log it says:
mode Either "console", "file", "syslog". Default is "console" and "file". Use spaces to separate multiple modes, e.g. console file
I am using grafana in docker. When I exec into the container and do this:
bash-5.0# echo $GF_PATHS_LOGS /var/log/grafana bash-5.0# ls -l /var/log/grafana/ total 0 bash-5.0#
When I check the
conf/defaults.ini I can see this:
[log] # Either "console", "file", "syslog". Default is console and file # Use space to separate multiple modes, e.g. "console file" mode = console file
so I’d take file is enabled.
If I do
docker logs -f <containerId> I can see all the logs
However, I cannot see any file logs. Is the documentation wrong or am I missing something?