blob: 41d66444e67f3a08ed3d6d66328dfa0ec450a757 [file] [log] [blame]
Gary Wu9abb61c2018-09-27 10:38:50 -07001[loggers]
2keys=root
3
4[handlers]
5keys=trfhand,consoleHandler,audithand,metrichand,errhand,debughand
6
7[logger_root]
8level=NOTSET
9handlers=trfhand,consoleHandler,audithand,metrichand,errhand,debughand
10
11[handler_consoleHandler]
12class=StreamHandler
13level=NOTSET
14formatter=generic
15args=(sys.stdout,)
16
17[handler_trfhand]
18class=handlers.TimedRotatingFileHandler
19level=NOTSET
20formatter=generic
21args=('application.log','midnight', 1, 10)
22
23[handler_audithand]
24class=handlers.TimedRotatingFileHandler
25level=INFO
26formatter=audit
27args=('audit.log', 'midnight', 1, 10)
28
29[handler_metrichand]
30class=handlers.TimedRotatingFileHandler
31level=INFO
32formatter=metric
33args=('metric.log','midnight', 1, 10)
34
35[handler_errhand]
36class=handlers.TimedRotatingFileHandler
37level=ERROR
38formatter=error
39args=('error.log','midnight', 1, 10)
40
41[handler_debughand]
42class=handlers.TimedRotatingFileHandler
43level=DEBUG
44formatter=generic
45args=('debug.log','midnight', 1, 10)
46
47[formatters]
48keys=generic,audit,metric,error
49
50[formatter_audit]
51format=%(asctime)s|%(asctime)s|00000000-0000-0000-0000-000000000000||%(thread)d||Conductor|N/A|COMPLETE|200|sucessful||%(levelname)s|||0|%(module)s|||||||||%(name)s : [-] %(message)s
52datefmt=
53
54[formatter_metric]
55format=%(asctime)s|%(asctime)s|00000000-0000-0000-0000-000000000000||%(thread)d||Conductor|N/A|N/A|N/A|COMPLETE|200|sucessful||%(levelname)s|||0|%(module)s||||||||||%(name)s : [-] %(message)s
56datefmt=
57
58[formatter_error]
59format=%(asctime)s|00000000-0000-0000-0000-000000000000|%(thread)d|Conductor|N/A|N/A|N/A|ERROR|500|N/A|%(name)s : [-] %(message)s
60datefmt=
61
62[formatter_generic]
63format=%(asctime)s||%(thread)d|%(levelname)s|%(module)s|%(name)s: [-] %(message)s
64datefmt=
65