From 9ccdb51063d1ea5aaee00687d931c03ffd6bc243 Mon Sep 17 00:00:00 2001 From: blitzmann Date: Wed, 25 Jul 2018 00:58:11 -0400 Subject: [PATCH] remove some logging tweaks --- config.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/config.py b/config.py index fa073ad9d..750888659 100644 --- a/config.py +++ b/config.py @@ -229,19 +229,6 @@ def defLogging(): ) ]) - with logging_setup.threadbound(): - - # Output all stdout (print) messages as warnings - try: - sys.stdout = LoggerWriter(pyfalog.warning) - except: - pyfalog.critical("Cannot redirect. Continuing without writing stdout to log.") - - # Output all stderr (stacktrace) messages as critical - try: - sys.stderr = LoggerWriter(pyfalog.critical) - except: - pyfalog.critical("Cannot redirect. Continuing without writing stderr to log.") class LoggerWriter(object):