monasca-persister/etc/monasca/persister-logging.conf
Joseph Davis bb8c8fbec9 Turn logging down from DEBUG in persister-logging.conf
All the configurations for logging were set to DEBUG, which
creates a large amount of output to the console (especially from
monasca_common.kafka_lib) which in turn was captured by the
devstack screen session for the python tempest gate tests and
causing trouble with logstash indexing.
Turn the default devstack logging to a more reasonable INFO.

Change-Id: I480e75f6254735f3221fcc02f96086b037256c85
Story: 2003911
2018-09-28 16:26:36 -07:00

51 lines
909 B
Plaintext

[loggers]
keys = root, kafka, influxdb, cassandra
[handlers]
keys = console, file
[formatters]
keys = generic
[logger_root]
level = INFO
formatter = default
handlers = console, file
[logger_kafka]
qualname = kafka
level = INFO
formatter = default
handlers = console, file
propagate = 0
[logger_influxdb]
qualname = influxdb
level = INFO
formatter = default
handlers = console, file
propagate = 0
[logger_cassandra]
qualname = cassandra
level = INFO
formatter = default
handlers = console, file
propagate = 0
[handler_console]
class = logging.StreamHandler
args = (sys.stderr,)
level = DEBUG
formatter = generic
[handler_file]
class = logging.handlers.RotatingFileHandler
level = DEBUG
formatter = generic
# store up to 5*100MB of logs
args = ('/var/log/monasca/persister/persister.log', 'a', 104857600, 5)
[formatter_generic]
format = %(asctime)s %(levelname)s [%(name)s][%(threadName)s] %(message)s