Disable default debug logs for workers
https://coreosdev.atlassian.net/browse/QUAY-771
This commit is contained in:
parent
d40defd756
commit
8a4d583f65
6 changed files with 6 additions and 6 deletions
|
@ -43,7 +43,7 @@ class GlobalPrometheusStatsWorker(Worker):
|
|||
|
||||
|
||||
def main():
|
||||
logging.config.fileConfig(logfile_path(debug=True), disable_existing_loggers=False)
|
||||
logging.config.fileConfig(logfile_path(debug=False), disable_existing_loggers=False)
|
||||
|
||||
if not app.config.get('PROMETHEUS_AGGREGATOR_URL'):
|
||||
logger.debug('Prometheus not enabled; skipping global stats reporting')
|
||||
|
|
Reference in a new issue