[jboss-jira] [JBoss JIRA] Issue Comment Edited: (AS7-1968) Updating the 'Log Level' of the CONSOLE logging handler forces entry of encoding.

Stan Silvert (JIRA) jira-events at lists.jboss.org
Wed Sep 28 07:53:26 EDT 2011


    [ https://issues.jboss.org/browse/AS7-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631021#comment-12631021 ] 

Stan Silvert edited comment on AS7-1968 at 9/28/11 7:53 AM:
------------------------------------------------------------

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 at localhost:9999 console-handler=myconsole] :read-operation-description(name=add)
{code}{
    "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"}
}{code}

      was (Author: ssilvert):
    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 at 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

        


More information about the jboss-jira mailing list