Merge pull request #810 from dadav/fix/remove_test_snippet

remove accidentally commited snippet
This commit is contained in:
Simone Margaritelli 2020-01-20 11:13:51 +01:00 committed by GitHub
commit 3c8e7fbea4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -215,11 +215,6 @@ class LastSession(object):
def setup_logging(args, config):
cfg = config['main']['log']
memory_cfg = config['fs']['memory']
log_to_memory = memory_cfg['enabled'] and \
memory_cfg['files']['logs']['enabled']
memory_log_levels = memory_cfg['files']['logs']['levels'] \
if log_to_memory else None
filename = cfg['path']
formatter = logging.Formatter("[%(asctime)s] [%(levelname)s] %(message)s")