Disable default debug logs for workers

https://coreosdev.atlassian.net/browse/QUAY-771
This commit is contained in:
Joseph Schorr 2017-08-24 14:25:51 -04:00
parent d40defd756
commit 8a4d583f65
6 changed files with 6 additions and 6 deletions

View file

@ -109,7 +109,7 @@ def log_dict(log):
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 features.ACTION_LOG_ROTATION or None in [SAVE_PATH, SAVE_LOCATION]:
logger.debug('Action log rotation worker not enabled; skipping')