-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlogging_config.json
More file actions
63 lines (59 loc) · 1.5 KB
/
logging_config.json
File metadata and controls
63 lines (59 loc) · 1.5 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"version":1,
"disable_existing_loggers":false,
"formatters":{
"my_formatter":{
"format":"[%(asctime)s] %(levelname)s [%(filename)s.%(funcName)s:%(lineno)d] %(message)s"
}
},
"handlers":{
"console_handler":{
"class":"logging.StreamHandler",
"level":"INFO",
"formatter":"my_formatter",
"stream":"ext://sys.stdout"
},
"timed_rotating_file_handler":{
"class":"logging.handlers.TimedRotatingFileHandler",
"level":"INFO",
"formatter":"my_formatter",
"filename":"logs/basedcount_bot.log",
"when":"D",
"interval":1,
"backupCount":15
}
},
"loggers":{
"basedcount_bot":{
"level":"DEBUG",
"handlers":[
],
"propagate":true
},
"bot_commands":{
"level":"DEBUG",
"handlers":[
],
"propagate":true
},
"back_up_and_cheating":{
"level":"DEBUG",
"handlers":[
],
"propagate":true
},
"backup_drive":{
"level":"DEBUG",
"handlers":[
],
"propagate":true
}
},
"root":{
"level":"DEBUG",
"handlers":[
"console_handler",
"timed_rotating_file_handler"
]
}
}