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