[jboss-jira] [JBoss JIRA] (AS7-2413) logger => use-parent-handlers is always true in the management model

Stan Silvert (Updated) (JIRA) jira-events at lists.jboss.org
Thu Oct 27 17:51:45 EDT 2011


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

Stan Silvert updated AS7-2413:
------------------------------

    Description: 
Hi James,

Put this in your standalone.xml:
{code}
<logger category="jacorb" use-parent-handlers="false"/>
{code}

You will get this in CLI:
{code}
[standalone at localhost:9999 logger=jacorb] /subsystem=logging/logger=jacorb/:read-resource
{
    "outcome" => "success",
    "result" => {
        "category" => "jacorb",
        "handlers" => undefined,
        "level" => "INFO",
        "use-parent-handlers" => true
    }
}
{code}

Also, do you know why use-parent-handlers is listed as a read-only field?

  was:
Hi James,

Put this in your standalone.xml:
<logger category="jacorb" use-parent-handlers="false"/>

You will get this in CLI:
[standalone at localhost:9999 logger=jacorb] /subsystem=logging/logger=jacorb/:read-resource
{
    "outcome" => "success",
    "result" => {
        "category" => "jacorb",
        "handlers" => undefined,
        "level" => "INFO",
        "use-parent-handlers" => true
    }
}

Also, do you know why use-parent-handlers is listed as a read-only field?


    
> logger => use-parent-handlers is always true in the management model
> --------------------------------------------------------------------
>
>                 Key: AS7-2413
>                 URL: https://issues.jboss.org/browse/AS7-2413
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 7.1.0.Alpha1
>            Reporter: Stan Silvert
>            Assignee: James Perkins
>
> Hi James,
> Put this in your standalone.xml:
> {code}
> <logger category="jacorb" use-parent-handlers="false"/>
> {code}
> You will get this in CLI:
> {code}
> [standalone at localhost:9999 logger=jacorb] /subsystem=logging/logger=jacorb/:read-resource
> {
>     "outcome" => "success",
>     "result" => {
>         "category" => "jacorb",
>         "handlers" => undefined,
>         "level" => "INFO",
>         "use-parent-handlers" => true
>     }
> }
> {code}
> Also, do you know why use-parent-handlers is listed as a read-only field?

--
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