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