Fix distributed cloud sync the wrong label cloud; update the werkzeug version
[pti/o2.git] / mock_smo / etc / log.yaml
1 # Copyright (C) 2021 Wind River Systems, Inc.
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
15 version: 1
16 disable_existing_loggers: False
17
18 loggers:
19     root:
20       handlers: [console_handler, file_handler]
21       level: "WARNING"
22       propagate: False
23     o2common:
24       handlers: [console_handler, file_handler]
25       level: "WARNING"
26       propagate: False
27     o2ims:
28       handlers: [console_handler, file_handler]
29       level: "DEBUG"
30       propagate: False
31     o2dms:
32       handlers: [console_handler, file_handler]
33       level: "DEBUG"
34       propagate: False
35 handlers:
36     console_handler:
37       level: "DEBUG"
38       class: "logging.StreamHandler"
39       formatter: "standard"
40     file_handler:
41       level: "DEBUG"
42       class: "logging.handlers.RotatingFileHandler"
43       filename: "/var/log/mock_smo.log"
44       formatter: "standard"
45       maxBytes: 52428800
46       backupCount: 10
47 formatters:
48     standard:
49       format: "%(asctime)s:[%(name)s]:[%(filename)s]-[%(lineno)d] [%(levelname)s]:%(message)s"