-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogging.json
More file actions
34 lines (34 loc) · 796 Bytes
/
Copy pathlogging.json
File metadata and controls
34 lines (34 loc) · 796 Bytes
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,
"formatters": {
"full": {
"class": "logging.Formatter",
"format": "%(asctime)s %(process)d %(thread)d %(levelname)-8s %(name)-40s %(message)s"
}
},
"handlers": {
"file": {
"class": "logging.FileHandler",
"filename": "./output.log",
"mode": "w",
"formatter": "full",
"level": "DEBUG"
},
"stdout": {
"class": "logging.StreamHandler",
"formatter": "full",
"level": "DEBUG"
}
},
"root":
{
"level": "DEBUG",
"handlers": ["file", "stdout"]
},
"loggers": {
"flasher": {
"handlers": ["file", "stdout"],
"propagate": 0
}
}
}