summaryrefslogtreecommitdiffstats
path: root/test/csit/scripts/optf-has/has/has-properties/log.conf.onap
blob: 41d66444e67f3a08ed3d6d66328dfa0ec450a757 (plain)
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
64
65
[loggers]
keys=root

[handlers]
keys=trfhand,consoleHandler,audithand,metrichand,errhand,debughand

[logger_root]
level=NOTSET
handlers=trfhand,consoleHandler,audithand,metrichand,errhand,debughand

[handler_consoleHandler]
class=StreamHandler
level=NOTSET
formatter=generic
args=(sys.stdout,)

[handler_trfhand]
class=handlers.TimedRotatingFileHandler
level=NOTSET
formatter=generic
args=('application.log','midnight', 1, 10)

[handler_audithand]
class=handlers.TimedRotatingFileHandler
level=INFO
formatter=audit
args=('audit.log', 'midnight', 1, 10)

[handler_metrichand]
class=handlers.TimedRotatingFileHandler
level=INFO
formatter=metric
args=('metric.log','midnight', 1, 10)

[handler_errhand]
class=handlers.TimedRotatingFileHandler
level=ERROR
formatter=error
args=('error.log','midnight', 1, 10)

[handler_debughand]
class=handlers.TimedRotatingFileHandler
level=DEBUG
formatter=generic
args=('debug.log','midnight', 1, 10)

[formatters]
keys=generic,audit,metric,error

[formatter_audit]
format=%(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
datefmt=

[formatter_metric]
format=%(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
datefmt=

[formatter_error]
format=%(asctime)s|00000000-0000-0000-0000-000000000000|%(thread)d|Conductor|N/A|N/A|N/A|ERROR|500|N/A|%(name)s : [-] %(message)s
datefmt=

[formatter_generic]
format=%(asctime)s||%(thread)d|%(levelname)s|%(module)s|%(name)s: [-] %(message)s
datefmt=