-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.test.toml
48 lines (36 loc) · 885 Bytes
/
config.test.toml
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
[nn-extractor]
name = 'test'
output_dir = './'
is_disable = false
is_debug_config = false
is_nnnode_record_inputs = true
is_profile = false
[loggers]
keys = 'root, nn_extractor'
disable_existing_loggers = true
[handlers]
keys = 'console'
[formatters]
keys = 'generic'
[logger_root]
level = 'WARNING'
handlers = 'console'
[logger_nn_extractor]
level = 'DEBUG'
qualname = 'nn-extractor'
handlers = 'console'
propagate = 0
[handler_console]
class = 'StreamHandler'
args = '(sys.stderr,)'
level = 'NOTSET'
formatter = 'generic'
# following toml format about single-quotes in args
[handler_file]
class = 'FileHandler'
args = '''('python.log', 'w')'''
level = 'NOTSET'
formatter = 'generic'
[formatter_generic]
format = '%(asctime)s [%(levelname)-5.5s] %(module)s#%(funcName)s@%(lineno)d: %(message)s'
datefmt = '%Y-%m-%d %H:%M:%S'