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

[Q] Lowering log verbosity #969

Open
SJrX opened this issue Dec 3, 2024 · 0 comments
Open

[Q] Lowering log verbosity #969

SJrX opened this issue Dec 3, 2024 · 0 comments
Labels

Comments

@SJrX
Copy link

SJrX commented Dec 3, 2024

Please ask help only about carbon component here, if you want to to do so for Graphite, please use graphite-web repo

I'm using the official container but have noticed that we are getting a bunch of logs over the years because we have lots of metrics that are very sparse. The following log messages show up a lot, and I'm unclear about how to turn them off.

{"log":"[03/Dec/2024 17:29:24.116] cache INFO CarbonLink creating a new socket for ('127.0.0.1', None)\n","stream":"stderr","time":"2024-12-03T17:29:24.116693467Z"}
{"log":"[03/Dec/2024 17:29:24.116] cache INFO CarbonLink sending request for <METRIC_NAME> to ('127.0.0.1', None)\n","stream":"stderr","time":"2024-12-03T17:29:24.116895457Z"}
{"log":"[03/Dec/2024 17:29:24.118] cache INFO CarbonLink finished receiving <METRIC_NAME> from ('127.0.0.1', None)\n","stream":"stderr","time":"2024-12-03T17:29:24.118371182Z"}
cat carbon.conf  | grep "LOG"
#   LOG_DIR        = %(STORAGE_DIR)s/log/
#   LOG_DIR        = /var/log/carbon/
ENABLE_LOGROTATION = True
LOG_UPDATES = False
LOG_CREATES = True
LOG_CACHE_HITS = False
LOG_CACHE_QUEUE_SORTS = False
LOG_LISTENER_CONN_SUCCESS = False
# LOG_LISTENER_CONN_SUCCESS = True
# LOG_LISTENER_CONN_SUCCESS = True
# LOG_AGGREGATOR_MISSES = False

I am logging to standard out because of the containers, and really I'm more concerned about wasted IOPS to disk than anything.

These don't seem to be CREATES.

@SJrX SJrX added the question label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant