[jboss-jira] [JBoss JIRA] (AS7-2427) Superflous attributes in logging subsystem

James Perkins (Updated) (JIRA) jira-events at lists.jboss.org
Wed Nov 9 18:52:46 EST 2011


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

James Perkins updated AS7-2427:
-------------------------------

    Fix Version/s: 7.1.0.CR1

    
> Superflous attributes in logging subsystem
> ------------------------------------------
>
>                 Key: AS7-2427
>                 URL: https://issues.jboss.org/browse/AS7-2427
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 7.1.0.Alpha1
>            Reporter: Stan Silvert
>            Assignee: James Perkins
>             Fix For: 7.1.0.CR1
>
>
> The domain model in the logging subsystem includes "name" attributes in the handlers and a "category" attribute in the loggers.  These are not needed because they are the identifier of the entity.  It could also lead to confusion because they could conceivably be changed and no longer match the entity identifier.
> *"name" => "foo"* is not needed here:
> {code}
> "console-handler" => \{
>     "foo" => \{
>         "autoflush" => true,
>         "encoding" => undefined,
>         "formatter" => "%d\{HH:mm:ss,SSS\} %-5p [%c] (%t) %s%E%n",
>         "level" => "INFO",
>         "name" => "foo",
>         "target" => "System.out"
>     \},
> {code}
> *"category" => "sun.rmi"* is not needed here:
> {code}
> "logger" => \{
>     "sun.rmi" => \{
>         "category*" => "sun.rmi",
>         "handlers" => undefined,
>         "level" => "WARN",
>         "use-parent-handlers" => true
>     \},
> {code}

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