[jboss-jira] [JBoss JIRA] (AS7-2427) Superflous attributes in logging subsystem
Stan Silvert (Created) (JIRA)
jira-events at lists.jboss.org
Fri Oct 28 13:05:45 EDT 2011
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
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