raintank / graphite-api

Graphite-web, without the interface. Just the rendering HTTP API.
http://graphite-api.readthedocs.org
Apache License 2.0
1 stars 1 forks source link

Too much logging #3

Closed ctdk closed 9 years ago

ctdk commented 9 years ago

graphite-api's got logging now, which is great, but now it's always logging at the debug level, and there doesn't seem to be a setting right now to adjust that. It did remind me that that needs to be added to logrotate, but we should also have a setting to adjust the logging level there. Already it's getting kind of out of hand.

woodsaj commented 9 years ago

just need to add the following to /etc/graphite-api.yaml

logging:
  version: 1
  handlers:
    raw:
      level: INFO
      class: logging.StreamHandler
      formatter: raw
  loggers:
    root:
      handlers:
        - raw
      level: INFO
      propagate: false
    graphite_api:
      handlers:
        - raw
      level: INFO
woodsaj commented 9 years ago

Added log_level support to raintank-stack chef recipe. pending merge...

see: https://github.com/raintank/chef-raintank-stack/pull/4

ctdk commented 9 years ago

Brought in on Friday.