Jakub Latusek | 544ded2 | 2020-10-21 13:36:29 +0200 | [diff] [blame] | 1 | {{/* |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 2 | # Copyright © 2017 Amdocs, Bell Canada |
Nishukumar | 376ba1e | 2018-08-03 09:17:23 +0000 | [diff] [blame] | 3 | # Modifications Copyright © 2018 AT&T,VMware |
krishnaa96 | 9940613 | 2020-09-24 20:39:49 +0530 | [diff] [blame] | 4 | # Modifications Copyright (C) 2020 Wipro Limited. |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 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. |
Jakub Latusek | 544ded2 | 2020-10-21 13:36:29 +0200 | [diff] [blame] | 17 | */}} |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 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 |
krishnaa96 | 9940613 | 2020-09-24 20:39:49 +0530 | [diff] [blame] | 31 | level=INFO |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 32 | formatter=generic |
| 33 | args=(sys.stdout,) |
| 34 | |
| 35 | [handler_trfhand] |
| 36 | class=handlers.TimedRotatingFileHandler |
| 37 | level=NOTSET |
| 38 | formatter=generic |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 39 | args=('/var/log/conductor/application.log','midnight', 1, 10) |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 40 | |
| 41 | [handler_audithand] |
| 42 | class=handlers.TimedRotatingFileHandler |
| 43 | level=INFO |
| 44 | formatter=audit |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 45 | args=('/var/log/conductor/audit.log', 'midnight', 1, 10) |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 46 | |
| 47 | [handler_metrichand] |
| 48 | class=handlers.TimedRotatingFileHandler |
| 49 | level=INFO |
| 50 | formatter=metric |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 51 | args=('/var/log/conductor/metric.log','midnight', 1, 10) |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 52 | |
| 53 | [handler_errhand] |
| 54 | class=handlers.TimedRotatingFileHandler |
| 55 | level=ERROR |
| 56 | formatter=error |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 57 | args=('/var/log/conductor/error.log','midnight', 1, 10) |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 58 | |
| 59 | [handler_debughand] |
| 60 | class=handlers.TimedRotatingFileHandler |
| 61 | level=DEBUG |
| 62 | formatter=generic |
Krzysztof Opasiak | 1cddd1d | 2020-04-16 20:06:50 +0200 | [diff] [blame] | 63 | args=('/var/log/conductor/debug.log','midnight', 1, 10) |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 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= |