Mercurial > repos > rmarenco > hubarchivecreator
comparison logging.json @ 29:7e8a8b732db3 draft
planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1a81ebd0ddea950b84af3fc830e9267a4814b29f
author | yating-l |
---|---|
date | Wed, 16 May 2018 18:04:20 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
28:6aa28a85cc38 | 29:7e8a8b732db3 |
---|---|
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 } |