Open like-inspur opened 5 years ago
Hi, hmm, looks like it was somehow overlooked. Sorry about this, it's need to be improved.
I created change to monasca-persister to allow configuring log levels on https://review.openstack.org/#/c/652992 When it's merged it will be possible to use them in docker images build from monasca-persister repository. This images are still not pushed to docker hub (it's in progress https://review.openstack.org/#/c/652650/ )
I want to set warn log level for monasca persister. So I set DEBUG and VERBOSE both are "false", but monasca persister pod still output INFO log. The config and output are like this: spec: containers:
2019-04-15 09:30:36.828 29 INFO monasca_persister.repositories.cassandra.metric_batch [-] metric dimension batches : Size: 1; Tokens: |<Murmur3Token: 2546015048625515015>: 10| 2019-04-15 09:30:36.828 29 INFO monasca_persister.repositories.cassandra.metric_batch [-] measurement batches : Size: 6; Replicas: |158.158.111.156,158.158.76.158,158.158.68.144: 30,6|158.158.111.156,158.158.68.144,158.158.76.158: 28|158.158.76.158,158.158.68.144,158.158.111.156: 30,15|158.158.76.158,158.158.111.156,158.158.68.144: 29|158.158.68.144,158.158.76.158,158.158.111.156: 22|158.158.68.144,158.158.111.156,158.158.76.158: 30,8|