forked from neonevm/proxy-model.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pretty_log_cfg.json
49 lines (49 loc) · 1.39 KB
/
pretty_log_cfg.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"version": 1,
"handlers": {
"standard": {
"class": "logging.StreamHandler",
"level": "DEBUG",
"formatter": "standard",
"filters": ["context_filter", "neon_prefix_dropper"]
},
"root": {
"class": "logging.StreamHandler",
"level": "DEBUG",
"formatter": "root",
"filters": ["context_filter"]
}
},
"filters": {
"context_filter": {
"()": "logged_groups.ContextFilter"
},
"neon_prefix_dropper": {
"()": "proxy.common_neon.logging.NeonPrefixDropper"
}
},
"formatters": {
"standard": {
"format": "%(asctime)s.%(msecs)03d [%(levelname)-.1s] P:%(process)d %(name)s:%(class)s:%(funcName)s:%(lineno)d %(context)s %(message)s",
"style": "%",
"datefmt": "%Y-%m-%d %H:%M:%S"
},
"root": {
"format": "%(asctime)s.%(msecs)03d [%(levelname)-.1s] P:%(process)d %(name)s:%(lineno)d %(context)s %(message)s",
"style": "%",
"datefmt": "%Y-%m-%d %H:%M:%S"
}
},
"loggers": {
"neon": {
"level": "DEBUG",
"handlers": ["standard"],
"propagate": false
},
"": {
"level": "ERROR",
"handlers": ["root"],
"propagate": false
}
}
}