[jboss-jira] [JBoss JIRA] Created: (JBCACHE-1185) Reduce logging level when a lifecycle operation is performed twice
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Fri Sep 14 17:07:11 EDT 2007
Reduce logging level when a lifecycle operation is performed twice
------------------------------------------------------------------
Key: JBCACHE-1185
URL: http://jira.jboss.com/jira/browse/JBCACHE-1185
Project: JBoss Cache
Issue Type: Task
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.GA
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Priority: Minor
Fix For: 2.1.0.GA
We log a WARN when, for example, stop() is invoked when the cache is already stopped. But this can happen easily (and validly) when the JMX wrappers are used with the microcontainer. MC stops the Cache and then the wrapper is stopped, which calls through to the Cache. This kind of thing is normal and we handle it properly, so we shouldn't log a warn.
Perhaps having the wrappers test the cache status before invoking on it would be better; that way we can still warn in other situations.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list