blob: c9bf3fabc9fbeb33f2487355f07c0c021341e6bf [file] [log] [blame]
Jakub Latusek544ded22020-10-21 13:36:29 +02001{{/*
Ikram Ikramullah40b120b2018-05-01 11:35:40 -04002# Copyright © 2017 Amdocs, Bell Canada
Nishukumar376ba1e2018-08-03 09:17:23 +00003# Modifications Copyright © 2018 AT&T,VMware
krishnaa9699406132020-09-24 20:39:49 +05304# Modifications Copyright (C) 2020 Wipro Limited.
Ikram Ikramullah40b120b2018-05-01 11:35:40 -04005#
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.
Jakub Latusek544ded22020-10-21 13:36:29 +020017*/}}
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040018
19[loggers]
20keys=root
21
22[handlers]
23keys=trfhand,consoleHandler,audithand,metrichand,errhand,debughand
24
25[logger_root]
26level=NOTSET
27handlers=trfhand,consoleHandler,audithand,metrichand,errhand,debughand
28
29[handler_consoleHandler]
30class=StreamHandler
krishnaa9699406132020-09-24 20:39:49 +053031level=INFO
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040032formatter=generic
33args=(sys.stdout,)
34
35[handler_trfhand]
36class=handlers.TimedRotatingFileHandler
37level=NOTSET
38formatter=generic
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020039args=('/var/log/conductor/application.log','midnight', 1, 10)
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040040
41[handler_audithand]
42class=handlers.TimedRotatingFileHandler
43level=INFO
44formatter=audit
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020045args=('/var/log/conductor/audit.log', 'midnight', 1, 10)
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040046
47[handler_metrichand]
48class=handlers.TimedRotatingFileHandler
49level=INFO
50formatter=metric
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020051args=('/var/log/conductor/metric.log','midnight', 1, 10)
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040052
53[handler_errhand]
54class=handlers.TimedRotatingFileHandler
55level=ERROR
56formatter=error
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020057args=('/var/log/conductor/error.log','midnight', 1, 10)
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040058
59[handler_debughand]
60class=handlers.TimedRotatingFileHandler
61level=DEBUG
62formatter=generic
Krzysztof Opasiak1cddd1d2020-04-16 20:06:50 +020063args=('/var/log/conductor/debug.log','midnight', 1, 10)
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040064
65[formatters]
66keys=generic,audit,metric,error
67
68[formatter_audit]
69format=%(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
70datefmt=
71
72[formatter_metric]
73format=%(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
74datefmt=
75
76[formatter_error]
77format=%(asctime)s|00000000-0000-0000-0000-000000000000|%(thread)d|Conductor|N/A|N/A|N/A|ERROR|500|N/A|%(name)s : [-] %(message)s
78datefmt=
79
80[formatter_generic]
81format=%(asctime)s||%(thread)d|%(levelname)s|%(module)s|%(name)s: [-] %(message)s
82datefmt=