case logback {
when "/config:modules/config:module/config:type = 'logback'";
+ list file-appenders {
+ leaf append {
+ type boolean;
+ mandatory false;
+ }
+
+ leaf file-name {
+ type string;
+ mandatory true;
+ }
+
+ leaf encoder-pattern {
+ type string;
+ mandatory true;
+ }
+
+ leaf name {
+ type string;
+ mandatory true;
+ }
+ config:java-name-prefix FileAppenderTO;
+ }
+
list rolling-appenders {
leaf append {
type boolean;
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;
+ }
config:java-name-prefix RollingFileAppenderTO;
}