--- /dev/null
+# 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