[
https://issues.jboss.org/browse/WFLY-2183?page=com.atlassian.jira.plugin....
]
James Perkins commented on WFLY-2183:
-------------------------------------
Indeed they are and noted as required.
_Note: Omitted the filter value-type_
{code}
{
"outcome" => "success",
"result" => {
"operation-name" => "add",
"description" => "Add a new logging handler.",
"request-properties" => {
"enabled" => {
"type" => 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
},
"module" => {
"type" => STRING,
"description" => "The module that the logging handler
depends on.",
"expressions-allowed" => false,
"required" => true,
"nillable" => false,
"min-length" => 1L,
"max-length" => 2147483647L
},
"class" => {
"type" => STRING,
"description" => "The logging handler class to be
used.",
"expressions-allowed" => false,
"required" => true,
"nillable" => false,
"min-length" => 1L,
"max-length" => 2147483647L
},
"named-formatter" => {
"type" => STRING,
"description" => "The name of the defined formatter to
be used on the handler.",
"expressions-allowed" => false,
"required" => false,
"nillable" => true,
"alternatives" => ["formatter"],
"min-length" => 1L,
"max-length" => 2147483647L
},
"properties" => {
"type" => OBJECT,
"description" => "Defines the properties used for the
logging handler. All properties must be accessible via a setter method.",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"value-type" => STRING
},
"formatter" => {
"type" => 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" => 1L,
"max-length" => 2147483647L
},
"filter-spec" => {
"type" => 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"],
"min-length" => 1L,
"max-length" => 2147483647L
},
"level" => {
"type" => 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",
"FATAL",
"OFF"
]
},
"name" => {
"type" => STRING,
"description" => "The handler's name.",
"expressions-allowed" => false,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"deprecated" => {
"since" => "1.2.0",
"reason" => "The name attribute should not be used
as the handler's address contains the name."
}
},
"encoding" => {
"type" => STRING,
"description" => "The character encoding used by this
Handler.",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"filter" => {
"type" => OBJECT,
"description" => "Defines a simple filter type.",
"expressions-allowed" => false,
"required" => false,
"nillable" => true,
"alternatives" => ["filter-spec"],
"deprecated" => {
"since" => "1.2.0",
"reason" => "Use filter-spec."
},
"value-type" => {
}
},
"reply-properties" => {},
"read-only" => false
}
}
{code}
Module and ClassName fields are disabled in new Custom handler
dialog
---------------------------------------------------------------------
Key: WFLY-2183
URL:
https://issues.jboss.org/browse/WFLY-2183
Project: WildFly
Issue Type: Bug
Components: Domain Management, Logging
Reporter: Heiko Braun
Assignee: James Perkins
Fix For: 8.0.0.CR1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira