summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/pub/config
diff options
context:
space:
mode:
Diffstat (limited to 'windriver/titanium_cloud/pub/config')
-rw-r--r--windriver/titanium_cloud/pub/config/log.yml25
1 files changed, 16 insertions, 9 deletions
diff --git a/windriver/titanium_cloud/pub/config/log.yml b/windriver/titanium_cloud/pub/config/log.yml
index 280980d0..cb61b526 100644
--- a/windriver/titanium_cloud/pub/config/log.yml
+++ b/windriver/titanium_cloud/pub/config/log.yml
@@ -1,31 +1,38 @@
+
version: 1
disable_existing_loggers: False
loggers:
- titanium_cloud:
- handlers: [titanium_cloud_handler]
+ starlingx_base:
+ handlers: [console_handler, file_handler]
level: "DEBUG"
propagate: False
- newton_base:
- handlers: [titanium_cloud_handler]
+ starlingx:
+ handlers: [console_handler, file_handler]
level: "DEBUG"
propagate: False
- common:
- handlers: [titanium_cloud_handler]
+ newton_base:
+ handlers: [console_handler, file_handler]
level: "DEBUG"
propagate: False
- starlingx_base:
- handlers: [titanium_cloud_handler]
+ common:
+ handlers: [console_handler, file_handler]
level: "DEBUG"
propagate: False
+
handlers:
- titanium_cloud_handler:
+ console_handler:
+ level: "DEBUG"
+ class: "logging.StreamHandler"
+ formatter: "standard"
+ file_handler:
level: "DEBUG"
class: "logging.handlers.RotatingFileHandler"
filename: "/var/log/onap/multicloud/openstack/windriver/titanium_cloud.log"
formatter: "standard"
maxBytes: 52428800
backupCount: 10
+
formatters:
standard:
format: "%(asctime)s|||||%(name)s||%(thread)||%(funcName)s||%(levelname)s||%(message)s"