-# Copyright (C) 2021 Wind River Systems, Inc.\r
-#\r
-# Licensed under the Apache License, Version 2.0 (the "License");\r
-# you may not use this file except in compliance with the License.\r
-# You may obtain a copy of the License at\r
-#\r
-# http://www.apache.org/licenses/LICENSE-2.0\r
-#\r
-# Unless required by applicable law or agreed to in writing, software\r
-# distributed under the License is distributed on an "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-# See the License for the specific language governing permissions and\r
-# limitations under the License.\r
-\r
-version: 1\r
-disable_existing_loggers: False\r
-\r
-loggers:\r
- root:\r
- handlers: [console_handler, file_handler]\r
- level: "WARNING"\r
- propagate: False\r
- o2common:\r
- handlers: [console_handler, file_handler]\r
- level: "WARNING"\r
- propagate: False\r
- o2ims:\r
- handlers: [console_handler, file_handler]\r
- level: "DEBUG"\r
- propagate: False\r
- o2dms:\r
- handlers: [console_handler, file_handler]\r
- level: "DEBUG"\r
- propagate: False\r
-handlers:\r
- console_handler:\r
- level: "DEBUG"\r
- class: "logging.StreamHandler"\r
- formatter: "standard"\r
- file_handler:\r
- level: "DEBUG"\r
- class: "logging.handlers.RotatingFileHandler"\r
- filename: "/var/log/mock_smo.log"\r
- formatter: "standard"\r
- maxBytes: 52428800\r
- backupCount: 10\r
-formatters:\r
- standard:\r
- format: "%(asctime)s:[%(name)s]:[%(filename)s]-[%(lineno)d] [%(levelname)s]:%(message)s"\r
+# Copyright (C) 2021 Wind River Systems, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+version: 1
+disable_existing_loggers: False
+
+loggers:
+ root:
+ handlers: [console_handler, file_handler]
+ level: "WARNING"
+ propagate: False
+ o2common:
+ handlers: [console_handler, file_handler]
+ level: "WARNING"
+ propagate: False
+ o2ims:
+ handlers: [console_handler, file_handler]
+ level: "DEBUG"
+ propagate: False
+ o2dms:
+ handlers: [console_handler, file_handler]
+ level: "DEBUG"
+ propagate: False
+handlers:
+ console_handler:
+ level: "DEBUG"
+ class: "logging.StreamHandler"
+ formatter: "standard"
+ file_handler:
+ level: "DEBUG"
+ class: "logging.handlers.RotatingFileHandler"
+ filename: "/var/log/mock_smo.log"
+ formatter: "standard"
+ maxBytes: 52428800
+ backupCount: 10
+formatters:
+ standard:
+ format: "%(asctime)s:[%(name)s]:[%(filename)s]-[%(lineno)d] [%(levelname)s]:%(message)s"