[MULTICLOUD] Release to fix cve issues
[oom.git] / kubernetes / multicloud / components / multicloud-fcaps / resources / config / log / log.yml
1 {{/*
2 # Copyright (c) 2019, CMCC Technologies Co., Ltd.
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 version: 1
17 disable_existing_loggers: False
18
19 loggers:
20     fcaps:
21       handlers: [fcaps_handler]
22       level: "DEBUG"
23       propagate: False
24     newton_base:
25       handlers: [fcaps_handler]
26       level: "DEBUG"
27       propagate: False
28     common:
29       handlers: [fcaps_handler]
30       level: "DEBUG"
31       propagate: False
32
33 handlers:
34     fcaps_handler:
35         level: "DEBUG"
36         class: "logging.handlers.RotatingFileHandler"
37         filename: "/var/log/onap/multicloud/openstack/fcaps/fcaps.log"
38         formatter: "standard"
39         maxBytes: 52428800
40         backupCount: 10
41
42 formatters:
43     standard:
44         format: "%(asctime)s|||||%(name)s||%(thread)||%(funcName)s||%(levelname)s||%(message)s"