Mercurial > repos > yating-l > gonramp_apollo_tools
diff logging.json @ 1:78af01d73add draft
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 9009fa8663038d2cb4a1c5130600a51f31f654a1-dirty
| author | yating-l |
|---|---|
| date | Tue, 28 Nov 2017 12:43:22 -0500 |
| parents | 1da8b9042af4 |
| children |
line wrap: on
line diff
--- a/logging.json Mon Nov 27 14:47:03 2017 -0500 +++ b/logging.json Tue Nov 28 12:43:22 2017 -0500 @@ -20,6 +20,16 @@ "level": "ERROR", "formatter": "simple", "stream": "ext://sys.stderr" + }, + + "debug_file_handler": { + "class": "logging.handlers.RotatingFileHandler", + "level": "DEBUG", + "formatter": "simple", + "filename": "__main__.log", + "maxBytes": 10485760, + "backupCount": 20, + "encoding": "utf8" } }, @@ -33,6 +43,6 @@ "root": { "level": "DEBUG", - "handlers": ["console", "console_stderr"] + "handlers": ["console", "console_stderr", "debug_file_handler"] } } \ No newline at end of file
