Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
Nishukumar | 376ba1e | 2018-08-03 09:17:23 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T,VMware |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 3 | # |
| 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] |
| 17 | keys=root |
| 18 | |
| 19 | [handlers] |
| 20 | keys=trfhand,consoleHandler,audithand,metrichand,errhand,debughand |
| 21 | |
| 22 | [logger_root] |
| 23 | level=NOTSET |
| 24 | handlers=trfhand,consoleHandler,audithand,metrichand,errhand,debughand |
| 25 | |
| 26 | [handler_consoleHandler] |
| 27 | class=StreamHandler |
| 28 | level=NOTSET |
| 29 | formatter=generic |
| 30 | args=(sys.stdout,) |
| 31 | |
| 32 | [handler_trfhand] |
| 33 | class=handlers.TimedRotatingFileHandler |
| 34 | level=NOTSET |
| 35 | formatter=generic |
Ikramullah, Ikram | ed54025 | 2020-04-09 09:06:26 -0400 | [diff] [blame] | 36 | args=('/var/log/application.log','midnight', 1, 10) |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 37 | |
| 38 | [handler_audithand] |
| 39 | class=handlers.TimedRotatingFileHandler |
| 40 | level=INFO |
| 41 | formatter=audit |
Ikramullah, Ikram | ed54025 | 2020-04-09 09:06:26 -0400 | [diff] [blame] | 42 | args=('/var/log/audit.log', 'midnight', 1, 10) |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 43 | |
| 44 | [handler_metrichand] |
| 45 | class=handlers.TimedRotatingFileHandler |
| 46 | level=INFO |
| 47 | formatter=metric |
Ikramullah, Ikram | ed54025 | 2020-04-09 09:06:26 -0400 | [diff] [blame] | 48 | args=('/var/log/metric.log','midnight', 1, 10) |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 49 | |
| 50 | [handler_errhand] |
| 51 | class=handlers.TimedRotatingFileHandler |
| 52 | level=ERROR |
| 53 | formatter=error |
Ikramullah, Ikram | ed54025 | 2020-04-09 09:06:26 -0400 | [diff] [blame] | 54 | args=('/var/log/error.log','midnight', 1, 10) |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 55 | |
| 56 | [handler_debughand] |
| 57 | class=handlers.TimedRotatingFileHandler |
| 58 | level=DEBUG |
| 59 | formatter=generic |
Ikramullah, Ikram | ed54025 | 2020-04-09 09:06:26 -0400 | [diff] [blame] | 60 | args=('/var/log/debug.log','midnight', 1, 10) |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 61 | |
| 62 | [formatters] |
| 63 | keys=generic,audit,metric,error |
| 64 | |
| 65 | [formatter_audit] |
| 66 | 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 |
| 67 | datefmt= |
| 68 | |
| 69 | [formatter_metric] |
| 70 | 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 |
| 71 | datefmt= |
| 72 | |
| 73 | [formatter_error] |
| 74 | 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 |
| 75 | datefmt= |
| 76 | |
| 77 | [formatter_generic] |
| 78 | format=%(asctime)s||%(thread)d|%(levelname)s|%(module)s|%(name)s: [-] %(message)s |
| 79 | datefmt= |