-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogging.json
More file actions
48 lines (48 loc) · 1.14 KB
/
logging.json
File metadata and controls
48 lines (48 loc) · 1.14 KB
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
{
"version":1,
"formatters":{
"console-fmt":{
"format":"{asctime} {levelname} {message}",
"datefmt":"%H:%M",
"style":"{"
},
"logfile-fmt":{
"format":"{asctime} {levelname} {message}",
"datefmt":null,
"style":"{"
}
},
"filters":{
},
"handlers":{
"console":{
"class":"logging.StreamHandler",
"level":"INFO",
"formatter":"console-fmt",
"filters":[],
"stream":null
},
"logfile":{
"class":"logging.handlers.TimedRotatingFileHandler",
"level":"DEBUG",
"formatter":"logfile-fmt",
"filters":[],
"filename":"TwitterBot.log",
"when":"midnight",
"backupCount":7,
"encoding":"utf8"
}
},
"loggers":{
"BotTweet":{
"level":"INFO",
"propagate":false,
"filters":[],
"handlers":["console", "logfile"]
}
},
"root":{
},
"incremental":false,
"disable_existing_loggers":true
}