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

Disable debug logging when running via docker #216

Open
lukyanov opened this issue Mar 30, 2017 · 2 comments
Open

Disable debug logging when running via docker #216

lukyanov opened this issue Mar 30, 2017 · 2 comments

Comments

@lukyanov
Copy link

How do I disable debug logs?
I'm using https://hub.docker.com/r/brutasse/graphite-api/ to run graphite-api.

There is a log file on the host machine that flooding with messages like this:

{"log":"{\"metric\": \"bot.production.srv0.meter.site.recipe.parser_failed.one\", \"host\": \"('192.168.210.54', None)\", \"event\": \"carbonlink request\"}\n","stream":"stderr","time":"2017-03-30T13:44:10.227889925Z"}
@lukyanov
Copy link
Author

up!

@westphaldp
Copy link

I don't see it in the documentation, but had a similar question. The only way I've found is to configure logging in graphite-api.yaml.

e.g.

logging:
  loggers:
    graphite_api:
      level: INFO

Inspiration: #73 (comment)

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

No branches or pull requests

2 participants