[jbosscache-issues] [JBoss JIRA] Created: (JBCACHE-1409) Unnecessarily scary debug message during config parsing

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Sep 11 18:33:21 EDT 2008


Unnecessarily scary debug message during config parsing
-------------------------------------------------------

                 Key: JBCACHE-1409
                 URL: https://jira.jboss.org/jira/browse/JBCACHE-1409
             Project: JBoss Cache
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 2.2.0.GA
            Reporter: Brian Stansberry
            Assignee: Manik Surtani
            Priority: Minor


XmlConfigurationParser.setValue logs a rather alarming message when it tries and fails to find a property setter that takes a String or Element:

2008-09-11 17:07:09,026 DEBUG [org.jboss.cache.factories.XmlConfigurationParser] (main) Unrecognised attribute SyncReplTimeout.  Please check your configuration.  Ignoring!!

It then goes on to look for a setter that takes a different type (in this case, long) and sets the property, or fails with an exception if there really is no appropriate setter.

It's only a DEBUG message, so this is minor, but the message itself is quite alarming. If there needs to be a message at all, perhaps "No property SyncReplTimeout of type String or Element; checking for other types."

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosscache-issues mailing list