You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Info logging is default True without config setting #1860
Setting for info logging is currently default True, what spams my info.log file. 400 MByte after three seconds . Why is no config option available to stop it or to set a log level?
I usually patch my graphite installations with the above set to False.
As @Kenterfie said, this used to quickly fill up docker containers on busy systems, even with log rotation set to 1 day. Would be great to have the possibility to disable.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Activity
deniszh commentedon Mar 20, 2017
Hi @Kenterfie ,
Could you please show an example of logs which you have? I do not see any enabled by default logging in master...
deniszh commentedon Mar 26, 2017
Hello @Kenterfie,
Did you find source of excessive logging? As far as I see in the code by default logging should be disabled.
xneo64 commentedon May 2, 2017
Same here.
I think the culprit is
graphite-web/webapp/graphite/logger.py
Line 39 in 622830d
I usually patch my graphite installations with the above set to False.
As @Kenterfie said, this used to quickly fill up docker containers on busy systems, even with log rotation set to 1 day. Would be great to have the possibility to disable.
deniszh commentedon May 3, 2017
OK, this should be addressed.
Quentin-M commentedon Sep 11, 2018
Apps that forcefully log to disk are a major pain when using containers.
stale commentedon Apr 13, 2020
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
henningw commentedon Mar 25, 2021
This issue is still present in default installation, e.g. from Debian 10 repository.
deniszh commentedon Mar 25, 2021
Btw, you can set log file name to "-" to redirect logs to stdout
E.g.
Merge pull request #2691 from deniszh/DZ-info-log-amend