blob: c476d0b6c854a3b34047f9776c79151bb19ae386 [file] [log] [blame]
Ikram Ikramullah40b120b2018-05-01 11:35:40 -04001# Copyright © 2017 Amdocs, Bell Canada
Nishukumar376ba1e2018-08-03 09:17:23 +00002# Modifications Copyright © 2018 AT&T,VMware
Ikram Ikramullah40b120b2018-05-01 11:35:40 -04003#
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]
17keys=root
18
19[handlers]
20keys=trfhand,consoleHandler,audithand,metrichand,errhand,debughand
21
22[logger_root]
23level=NOTSET
24handlers=trfhand,consoleHandler,audithand,metrichand,errhand,debughand
25
26[handler_consoleHandler]
27class=StreamHandler
28level=NOTSET
29formatter=generic
30args=(sys.stdout,)
31
32[handler_trfhand]
33class=handlers.TimedRotatingFileHandler
34level=NOTSET
35formatter=generic
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020036args=('/var/log/conductor/application.log','midnight', 1, 10)
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040037
38[handler_audithand]
39class=handlers.TimedRotatingFileHandler
40level=INFO
41formatter=audit
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020042args=('/var/log/conductor/audit.log', 'midnight', 1, 10)
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040043
44[handler_metrichand]
45class=handlers.TimedRotatingFileHandler
46level=INFO
47formatter=metric
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020048args=('/var/log/conductor/metric.log','midnight', 1, 10)
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040049
50[handler_errhand]
51class=handlers.TimedRotatingFileHandler
52level=ERROR
53formatter=error
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020054args=('/var/log/conductor/error.log','midnight', 1, 10)
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040055
56[handler_debughand]
57class=handlers.TimedRotatingFileHandler
58level=DEBUG
59formatter=generic
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020060args=('/var/log/conductor/debug.log','midnight', 1, 10)
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040061
62[formatters]
63keys=generic,audit,metric,error
64
65[formatter_audit]
66format=%(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
67datefmt=
68
69[formatter_metric]
70format=%(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
71datefmt=
72
73[formatter_error]
74format=%(asctime)s|00000000-0000-0000-0000-000000000000|%(thread)d|Conductor|N/A|N/A|N/A|ERROR|500|N/A|%(name)s : [-] %(message)s
75datefmt=
76
77[formatter_generic]
78format=%(asctime)s||%(thread)d|%(levelname)s|%(module)s|%(name)s: [-] %(message)s
79datefmt=