[SDC] correct typo
[oom.git] / kubernetes / oof / components / oof-has / resources / config / log.conf
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T,VMware
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 [loggers]
17 keys=root
18
19 [handlers]
20 keys=trfhand,consoleHandler,audithand,metrichand,errhand,debughand
21
22 [logger_root]
23 level=NOTSET
24 handlers=trfhand,consoleHandler,audithand,metrichand,errhand,debughand
25
26 [handler_consoleHandler]
27 class=StreamHandler
28 level=NOTSET
29 formatter=generic
30 args=(sys.stdout,)
31
32 [handler_trfhand]
33 class=handlers.TimedRotatingFileHandler
34 level=NOTSET
35 formatter=generic
36 args=('/var/log/conductor/application.log','midnight', 1, 10)
37
38 [handler_audithand]
39 class=handlers.TimedRotatingFileHandler
40 level=INFO
41 formatter=audit
42 args=('/var/log/conductor/audit.log', 'midnight', 1, 10)
43
44 [handler_metrichand]
45 class=handlers.TimedRotatingFileHandler
46 level=INFO
47 formatter=metric
48 args=('/var/log/conductor/metric.log','midnight', 1, 10)
49
50 [handler_errhand]
51 class=handlers.TimedRotatingFileHandler
52 level=ERROR
53 formatter=error
54 args=('/var/log/conductor/error.log','midnight', 1, 10)
55
56 [handler_debughand]
57 class=handlers.TimedRotatingFileHandler
58 level=DEBUG
59 formatter=generic
60 args=('/var/log/conductor/debug.log','midnight', 1, 10)
61
62 [formatters]
63 keys=generic,audit,metric,error
64
65 [formatter_audit]
66 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
67 datefmt=
68
69 [formatter_metric]
70 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
71 datefmt=
72
73 [formatter_error]
74 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
75 datefmt=
76
77 [formatter_generic]
78 format=%(asctime)s||%(thread)d|%(levelname)s|%(module)s|%(name)s: [-] %(message)s
79 datefmt=