[jboss-jira] [JBoss JIRA] (AS7-4839) change-root-log-level command creates config in wrong place ?

James Perkins (JIRA) jira-events at lists.jboss.org
Tue Aug 14 17:37:14 EDT 2012


     [ https://issues.jboss.org/browse/AS7-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins updated AS7-4839:
-------------------------------

       Fix Version/s: 7.1.2.Final (EAP)
    Git Pull Request: https://github.com/jbossas/jboss-as/pull/2490, https://github.com/jbossas/jboss-as/pull/2491  (was: https://github.com/jbossas/jboss-as/pull/2490, https://github.com/jbossas/jboss-as/pull/2491)

    
> change-root-log-level command creates config in wrong place ?
> -------------------------------------------------------------
>
>                 Key: AS7-4839
>                 URL: https://issues.jboss.org/browse/AS7-4839
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: CLI, Logging
>    Affects Versions: 7.1.1.Final
>            Reporter: Darrin Mison
>            Assignee: James Perkins
>             Fix For: 7.1.2.Final (EAP)
>
>
> Starting with the following configuration:
> {code}
> [standalone at localhost:9999 /] /subsystem=logging/root-logger=ROOT:read-resource                              
> {
>     "outcome" => "success",
>     "result" => {
>         "filter" => undefined,
>         "handlers" => [
>             "CONSOLE",
>             "FILE"
>         ],
>         "level" => undefined
>     }
> } 
> {code}
> I attempt to specify the log level using change-root-log-level command:
> {code}
> [standalone at localhost:9999 /] /subsystem=logging/root-logger=ROOT:change-root-log-level(level="DEBUG")
> {"outcome" => "success"}
> {code}
> However instead of changing the value of {{level}} it adds a new {{root-logger}} element and sets it there.
> {code}
> [standalone at localhost:9999 /] /subsystem=logging/root-logger=ROOT:read-resource        
> {
>     "outcome" => "success",
>     "result" => {
>         "filter" => undefined,
>         "handlers" => [
>             "CONSOLE",
>             "FILE"
>         ],
>         "level" => undefined,
>         "root-logger" => {"level" => "DEBUG"}
>     }
> } 
> {code}
> This configuration isn't reflected in the management console or XML, nor does it have the intended affect on server behaviour.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list