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