Mercurial > repos > yating-l > gonramp_apollo_tools
comparison logging.json @ 0:ce4f91831680 draft default tip
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
author | yating-l |
---|---|
date | Fri, 16 Feb 2018 10:57:13 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:ce4f91831680 |
---|---|
1 { | |
2 "version": 1, | |
3 "disable_existing_loggers": false, | |
4 "formatters": { | |
5 "simple": { | |
6 "format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s" | |
7 } | |
8 }, | |
9 | |
10 "handlers": { | |
11 "console": { | |
12 "class": "logging.StreamHandler", | |
13 "level": "INFO", | |
14 "formatter": "simple", | |
15 "stream": "ext://sys.stdout" | |
16 }, | |
17 | |
18 "console_stderr": { | |
19 "class": "logging.StreamHandler", | |
20 "level": "ERROR", | |
21 "formatter": "simple", | |
22 "stream": "ext://sys.stderr" | |
23 }, | |
24 | |
25 "debug_file_handler": { | |
26 "class": "logging.handlers.RotatingFileHandler", | |
27 "level": "DEBUG", | |
28 "formatter": "simple", | |
29 "filename": "__main__.log", | |
30 "maxBytes": 10485760, | |
31 "backupCount": 20, | |
32 "encoding": "utf8" | |
33 } | |
34 }, | |
35 | |
36 "loggers": { | |
37 "Reader": { | |
38 "level": "INFO", | |
39 "handlers": ["console"], | |
40 "propagate": "yes" | |
41 } | |
42 }, | |
43 | |
44 "root": { | |
45 "level": "DEBUG", | |
46 "handlers": ["console", "console_stderr", "debug_file_handler"] | |
47 } | |
48 } |