Lots of entries in carbon-cache log

Asked by Tobias on 2017-05-08

I have upgraded carbon to version 1.0.1. I have the following settings to keep the logging as quiet as possible:

ENABLE_LOGROTATION = True
LOG_CACHE_HITS = False
LOG_CACHE_QUEUE_SORTS = False
LOG_LISTENER_CONNECTIONS = False
LOG_UPDATES = False

Still I see this in my console.log:

08/05/2017 09:01:50 :: Queue consumed in 0.009594 seconds
08/05/2017 09:01:51 :: Queue consumed in 0.202199 seconds
08/05/2017 09:01:51 :: Queue consumed in 0.303386 seconds
08/05/2017 09:01:51 :: Queue consumed in 0.237549 seconds
08/05/2017 09:01:51 :: Queue consumed in 0.307978 seconds
08/05/2017 09:01:52 :: Queue consumed in 0.205325 seconds
08/05/2017 09:01:52 :: Queue consumed in 0.204881 seconds

I see in the cache.py that the code checks if the LOG_CACHE_QUEUE_SORTS variable is set. I suppose in my case it should not do any logging since I've set this to False.

Any idea what I'm missing here?

Regards,

Tobias

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
Tobias
Solved:
2017-05-08
Last query:
2017-05-08
Last reply:
2017-05-08
Denis Zhdanov (deniszhdanov) said : #1

Unfortunately "Queue consumed" logging are not covering by LOG_CACHE_QUEUE_SORTS variable.
I created a fix - https://github.com/graphite-project/carbon/pull/653

Tobias (lindqt01) said : #2

Many thanks, works perfectly!