From 8de2afa943bf2535062c6f5de2fb919adae90b5a Mon Sep 17 00:00:00 2001 From: Brandon Rodriguez <brodriguez8774@gmail.com> Date: Sun, 1 Nov 2020 22:53:01 -0500 Subject: [PATCH] Clear project root logging file of custom statuses for importing --- logging.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/logging.py b/logging.py index bc82d0f..a330164 100644 --- a/logging.py +++ b/logging.py @@ -95,19 +95,11 @@ def get_logging_settings(): 'backupCount': logging_backup_count, 'formatter': 'standard', }, - 'test_level': { - 'level': 'TESTING', - 'class': logging_class, - 'filename': logging_directory.joinpath('test.log'), - 'maxBytes': logging_max_bytes, - 'backupCount': logging_backup_count, - 'formatter': 'standard', - }, }, 'loggers': { # All basic logging. '': { - 'handlers': ['console', 'file_debug', 'file_info', 'file_warn', 'file_error', 'test_level'], + 'handlers': ['console', 'file_debug', 'file_info', 'file_warn', 'file_error'], 'level': 'NOTSET', 'propagate': False, } @@ -129,7 +121,6 @@ def init_logging(caller): logging_directory.mkdir() # Add new logging levels. - add_logging_level('TESTING', 25) # Load dictionary of settings into logger. this.settings = get_logging_settings() -- GitLab