Commit Graph

3 Commits

Author SHA1 Message Date
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
Adrian Czarnecki 5f168778c6 Use oslo-config-generator
To generate the sample config file, do what other OpenStack projects do
and use the oslo.config provided mechanism.

Story: 2001009
Task:  4201

Change-Id: I490de4110843f7dfd618a6a8cc8d6a4e35db65ce
2017-07-28 13:48:01 +02:00
Tomasz Trębski f1555c1868 Granular logging control
Following commits matches the logging behaviour
that can be found in monasca-log-api and will be available
in monasca-api.
With it, it is possible to granullary control severities
of different components of monasca-persister.
Provides logging to the console and file.
File logging has rotating capability enabled.

Change-Id: If16138b38a5a4344c18eefe159d80585a8c68819
2017-01-09 05:35:51 +00:00