-
Notifications
You must be signed in to change notification settings - Fork 3
/
logging.conf
63 lines (51 loc) · 1.07 KB
/
logging.conf
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
[loggers]
keys=root, dialogue_manager, gpt_wrapper, answer, alpaca_lora_wrapper, recommend, filter
[handlers]
keys=fileHandler
[formatters]
keys=simpleFormatter
[logger_root]
level=DEBUG
handlers=fileHandler
[logger_dialogue_manager]
level=DEBUG
handlers=fileHandler
qualname=dialogue_manager
propagate=0
[logger_answer]
level=DEBUG
handlers=fileHandler
qualname=answer
propagate=0
[logger_recommend]
level=DEBUG
handlers=fileHandler
qualname=recommend
propagate=0
[logger_gpt_wrapper]
level=DEBUG
handlers=fileHandler
qualname=gpt_wrapper
propagate=0
[logger_alpaca_lora_wrapper]
level=DEBUG
handlers=fileHandler
qualname=alpaca_lora_wrapper
propagate=0
[logger_filter]
level=DEBUG
handlers=fileHandler
qualname=filter
propagate=0
[handler_consoleHandler]
class=StreamHandler
level=DEBUG
formatter=simpleFormatter
args=(sys.stdout,)
[handler_fileHandler]
class=utility.make_dir_file_handler.MakeDirsFileHandler
level=DEBUG
formatter=simpleFormatter
args=('logs/conv_rec_demo.log', 'w', 'utf-8')
[formatter_simpleFormatter]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s