X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fconfig%2Flogback-config%2Fsrc%2Fmain%2Fyang%2Fconfig-logging.yang;h=3b28b574696683540391dd53ab041b0b40dd7ebb;hb=de12565a7795af98788f8150eb0072f9c985f4a1;hp=7af887671d21cf184cf7604284d1b58f77927e9f;hpb=d8559be3bef3cad55c9c08cbb7718df32744f44a;p=controller.git diff --git a/opendaylight/config/logback-config/src/main/yang/config-logging.yang b/opendaylight/config/logback-config/src/main/yang/config-logging.yang index 7af887671d..3b28b57469 100644 --- a/opendaylight/config/logback-config/src/main/yang/config-logging.yang +++ b/opendaylight/config/logback-config/src/main/yang/config-logging.yang @@ -32,7 +32,7 @@ module config-logging { when "/config:modules/config:module/config:type = 'logback'"; list file-appenders { - leaf append { + leaf append { type boolean; mandatory false; } @@ -41,19 +41,20 @@ module config-logging { type string; mandatory true; } - + leaf encoder-pattern { type string; mandatory true; } - + leaf name { type string; mandatory true; } + key name; config:java-name-prefix FileAppenderTO; } - + list rolling-appenders { leaf append { type boolean; @@ -89,25 +90,26 @@ module config-logging { type string; mandatory true; } + key name; leaf file-name-pattern { type string; mandatory true; } - + leaf rolling-policy-type { type string; mandatory true; } - + leaf max-history { type int32; mandatory true; } - + leaf clean-history-on-start { type boolean; - default 0; + default false; } config:java-name-prefix RollingFileAppenderTO; } @@ -128,6 +130,8 @@ module config-logging { type string; mandatory true; } + key name; + config:java-name-prefix ConsoleAppenderTO; } @@ -136,6 +140,7 @@ module config-logging { type string; mandatory true; } + key logger-name; leaf level { type string;