[CONSUL] Add limits to consul chart.
[oom.git] / kubernetes / multicloud / charts / multicloud-windriver / resources / config / log / log.yml
1 # Copyright © 2018  AT&T, Amdocs, Bell Canada Intellectual Property.  All rights reserved.
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 version: 1
15 disable_existing_loggers: False
16
17 loggers:
18     titanium_cloud:
19       handlers: [titanium_cloud_handler]
20       level: "DEBUG"
21       propagate: False
22     newton_base:
23       handlers: [titanium_cloud_handler]
24       level: "DEBUG"
25       propagate: False
26     common:
27       handlers: [titanium_cloud_handler]
28       level: "DEBUG"
29       propagate: False
30
31 handlers:
32     titanium_cloud_handler:
33         level: "DEBUG"
34         class: "logging.handlers.RotatingFileHandler"
35         filename: "/var/log/onap/multicloud/openstack/windriver/titanium_cloud.log"
36         formatter: "mdcFormat"
37         maxBytes: 52428800
38         backupCount: 10
39
40 formatters:
41     standard:
42         format: "%(asctime)s|||||%(name)s||%(thread)||%(funcName)s||%(levelname)s||%(message)s"
43     mdcFormat:
44         format: "%(asctime)s|||||%(name)s||%(thread)s||%(funcName)s||%(levelname)s||%(message)s||||%(mdc)s \t"
45         mdcfmt: "{requestID} {invocationID} {serviceName} {serviceIP}"
46         datefmt: "%Y-%m-%d %H:%M:%S"
47         (): onaplogging.mdcformatter.MDCFormatter