Mercurial > repos > yating-l > jbrowsearchivecreator
comparison logging.json @ 6:237707a6b74d draft
planemo upload for repository https://github.com/Yating-L/jbrowse-archive-creator.git commit a500f7ab2119cc5faaf80393bd87428389d06880-dirty
author | yating-l |
---|---|
date | Thu, 15 Feb 2018 17:05:05 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
5:e762f4b9e4bd | 6:237707a6b74d |
---|---|
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 } |