{
"operation-name" : "update-properties",
"description" : "Update the properties on the existing handler.",
"request-properties" : {
"level" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The log level specifying which message levels will be logged by this logger. Message levels lower than this value will be discarded.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "ALL",
"allowed" : [
"ALL",
"FINEST",
"FINER",
"TRACE",
"DEBUG",
"FINE",
"CONFIG",
"INFO",
"WARN",
"WARNING",
"ERROR",
"SEVERE",
"FATAL",
"OFF"
],
"stability" : "default"
},
"enabled" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "If set to true the handler is enabled and functioning as normal, if set to false the handler is ignored when processing log messages.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : true,
"stability" : "default"
},
"encoding" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The character encoding used by this Handler.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"formatter" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Defines a pattern for the formatter.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n",
"alternatives" : ["named-formatter"],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"filter-spec" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "A filter expression value to define a filter. Example for a filter that does not match a pattern: not(match(\"JBAS.*\"))",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"alternatives" : ["filter"],
"capability-reference" : "org.wildfly.logging.filter",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"autoflush" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Automatically flush after each write.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : true,
"stability" : "default"
},
"append" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Specify whether to append to the target file.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : true,
"stability" : "default"
},
"max-backup-index" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The maximum number of backups to keep.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 1,
"min" : 1,
"max" : 2147483647,
"stability" : "default"
},
"rotate-size" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The size at which to rotate the log file.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "2m",
"stability" : "default"
},
"rotate-on-boot" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Indicates the file should be rotated each time the file attribute is changed. This always happens when at initialization time.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"named-formatter" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The name of the defined formatter to be used on the handler.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"alternatives" : ["formatter"],
"capability-reference" : "org.wildfly.logging.formatter",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"file" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "The file description consisting of the path and optional relative to path.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"stability" : "default",
"value-type" : {
"relative-to" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The name of another previously named path, or of one of the standard paths provided by the system. If 'relative-to' is provided, the value of the 'path' attribute is treated as relative to the path specified by this attribute.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"capability-reference" : "org.wildfly.management.path",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"path" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The filesystem path.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"filesystem-path" : true,
"stability" : "default"
}
}
},
"suffix" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Set the suffix string. The string is in a format which can be understood by java.text.SimpleDateFormat. The suffix does not determine when the file should be rotated.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
}
},
"reply-properties" : {},
"deprecated" : {
"since" : "1.2.0",
"reason" : "Use the write-attribute operation."
},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}