diff --git a/workers/blobuploadcleanupworker/blobuploadcleanupworker.py b/workers/blobuploadcleanupworker/blobuploadcleanupworker.py index 82d3acda3..c47d7ea89 100644 --- a/workers/blobuploadcleanupworker/blobuploadcleanupworker.py +++ b/workers/blobuploadcleanupworker/blobuploadcleanupworker.py @@ -47,6 +47,6 @@ class BlobUploadCleanupWorker(Worker): if __name__ == "__main__": - logging.config.fileConfig(logfile_path(debug=True), disable_existing_loggers=False) + logging.config.fileConfig(logfile_path(debug=False), disable_existing_loggers=False) worker = BlobUploadCleanupWorker() worker.start() diff --git a/workers/globalpromstats/globalpromstats.py b/workers/globalpromstats/globalpromstats.py index e0ea4676c..9b97022c3 100644 --- a/workers/globalpromstats/globalpromstats.py +++ b/workers/globalpromstats/globalpromstats.py @@ -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') diff --git a/workers/logrotateworker.py b/workers/logrotateworker.py index 06e93d23d..987224a1c 100644 --- a/workers/logrotateworker.py +++ b/workers/logrotateworker.py @@ -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') diff --git a/workers/securityworker/securityworker.py b/workers/securityworker/securityworker.py index 1038e7a04..552d7fd2f 100644 --- a/workers/securityworker/securityworker.py +++ b/workers/securityworker/securityworker.py @@ -43,6 +43,6 @@ if __name__ == '__main__': while True: time.sleep(100000) - logging.config.fileConfig(logfile_path(debug=True), disable_existing_loggers=False) + logging.config.fileConfig(logfile_path(debug=False), disable_existing_loggers=False) worker = SecurityWorker() worker.start() diff --git a/workers/teamsyncworker/teamsyncworker.py b/workers/teamsyncworker/teamsyncworker.py index d1eb206ce..a69e36235 100644 --- a/workers/teamsyncworker/teamsyncworker.py +++ b/workers/teamsyncworker/teamsyncworker.py @@ -26,7 +26,7 @@ class TeamSynchronizationWorker(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 features.TEAM_SYNCING or not authentication.federated_service: logger.debug('Team syncing is disabled; sleeping') diff --git a/workers/worker.py b/workers/worker.py index bb6d6b37a..8ec75fcc4 100644 --- a/workers/worker.py +++ b/workers/worker.py @@ -63,7 +63,7 @@ class Worker(object): pass def start(self): - 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('SETUP_COMPLETE', False): logger.info('Product setup is not yet complete; skipping worker startup')