[jboss-jira] [JBoss JIRA] Updated: (JGRP-1224) JDKLogImpl category for Class is incorrect
Bela Ban (JIRA)
jira-events at lists.jboss.org
Fri Jul 2 03:05:46 EDT 2010
[ https://jira.jboss.org/browse/JGRP-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bela Ban updated JGRP-1224:
---------------------------
Fix Version/s: 2.10
> JDKLogImpl category for Class is incorrect
> ------------------------------------------
>
> Key: JGRP-1224
> URL: https://jira.jboss.org/browse/JGRP-1224
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 2.10
> Environment: All
> Reporter: Robert Eden
> Assignee: Bela Ban
> Priority: Minor
> Fix For: 2.10
>
>
> The JDKLogImpl class initializes the category using Class.toString, but should instead be using getName(). The toString() produces values such as "class org.jgroups.conf.ConfiguratorFactory" when we just want the class name.
> The fix is to replace this:
> public JDKLogImpl(Class category) {
> logger=Logger.getLogger(category.toString());
> }
> With this:
> public JDKLogImpl(Class category) {
> logger=Logger.getLogger(category.getName());
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list