[
https://issues.jboss.org/browse/AS7-1968?page=com.atlassian.jira.plugin.s...
]
Stan Silvert commented on AS7-1968:
-----------------------------------
Right now encoding is flagged as a required field in DMR. There are several issues with
the handler attributes on the back end. James should be finishing the cleanup soon. Then
I can align with the results.
[standalone@localhost:9999 console-handler=myconsole]
:read-operation-description(name=add)
{
"outcome" => "success",
"result" => {
"operation-name" => "add",
"description" => "Defines a handler which writes to the
console.",
"request-properties" => {
"name" => {
"type" => STRING,
"description" => "The handler's name.",
"required" => true
},
"level" => {
"type" => STRING,
"description" => "The log level specifying which message
levels will be logged by this. Message levels lower than this value will be
discarded.",
"required" => true
},
"encoding" => {
"type" => STRING,
"description" => "The character encoding used by this
Handler.",
"required" => true
},
"filter" => {
"type" => STRING,
"description" => "Defines a simple filter type.",
"required" => false
},
"formatter" => {
"type" => STRING,
"description" => "Defines a formatter.",
"required" => true
},
"autoflush" => {
"type" => BOOLEAN,
"description" => "Automatically flush after each
write.",
"required" => false
},
"target" => {
"type" => STRING,
"description" => "Defines the target of the console
handler. The value can either be SYSTEM_OUT or SYSTEM_ERR.",
"required" => true
}
},
"read-only" => false
},
"response-headers" => {"process-state" =>
"reload-required"}
}
Updating the 'Log Level' of the CONSOLE logging handler
forces entry of encoding.
---------------------------------------------------------------------------------
Key: AS7-1968
URL:
https://issues.jboss.org/browse/AS7-1968
Project: Application Server 7
Issue Type: Task
Components: Console
Environment: Currently experienced using git checkout on 28th Sept
Reporter: Darran Lofthouse
Assignee: Stan Silvert
Fix For: 7.1.0.Beta1
Starting a fresh build of AS7 and opening the console, visit the handlers section and
edit the CONSOLE handler to set the level to DEBUG - the management console will not allow
it to be saved without also entering a value for encoding.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira