forked from nl-hugo/ripple-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
logging.json
34 lines (34 loc) · 918 Bytes
/
logging.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"version": 1,
"disable_existing_loggers": false,
"formatters": {
"brief": {
"class": "logging.Formatter",
"datefmt": "%I:%M:%S",
"format": "%(asctime)s | %(levelname)8s | %(name)25s | %(message)s"
}
},
"handlers": {
"console": {
"level": "DEBUG",
"class": "logging.StreamHandler",
"formatter": "brief",
"stream": "ext://sys.stdout"
},
"file_handler": {
"level": "INFO",
"class": "logging.handlers.RotatingFileHandler",
"formatter": "brief",
"filename": "ripple_data.log",
"mode": "a",
"maxBytes": 10485760,
"backupCount": 5,
"encoding": "utf8"
}
},
"loggers": {},
"root": {
"handlers": ["console", "file_handler"],
"level": "DEBUG"
}
}