From 28c1ef2dd5f762bb8a9c411d3ffdb51786d60654 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Thu, 23 Apr 2020 17:47:34 -0700 Subject: [PATCH] Remove logging config from global.json --- amanuensis/resources/global.json | 44 -------------------------------- 1 file changed, 44 deletions(-) diff --git a/amanuensis/resources/global.json b/amanuensis/resources/global.json index 5bf714f..fbefaba 100644 --- a/amanuensis/resources/global.json +++ b/amanuensis/resources/global.json @@ -11,49 +11,5 @@ "tls": null, "username": null, "password": null - }, - "logging": { - "version": 1, - "formatters": { - "fmt_basic": { - "format": "[{levelname}] {message}", - "style": "{" - }, - "fmt_verbose": { - "format": "[{asctime}] [{levelname}:{filename}:{lineno}] {message}", - "style": "{" - } - }, - "handlers": { - "cli_basic": { - "class": "logging.StreamHandler", - "formatter": "fmt_basic", - "level": "INFO" - }, - "cli_verbose": { - "class": "logging.StreamHandler", - "formatter": "fmt_verbose", - "level": "DEBUG" - }, - "file": { - "class": "logging.handlers.RotatingFileHandler", - "formatter": "fmt_verbose", - "level": "DEBUG", - "filename": "./amanuensis.log", - "delay": true, - "encoding": "utf8", - "maxBytes": 1000000, - "backupCount": 10 - } - }, - "loggers": { - "amanuensis": { - "level": "DEBUG", - "handlers": [ - "cli_basic" - ] - } - }, - "disable_existing_loggers": false } }