[
http://jira.jboss.com/jira/browse/JBESB-518?page=comments#action_12360184 ]
Kevin Conner commented on JBESB-518:
------------------------------------
Sure, no problem
Lines such as
catch (JMSException e)
{
_logger.error(e.getMessage(), e);
}
should be
catch (JMSException e)
{
_logger.debug(e.getMessage(), e);
}
and similarly
catch (JMSException ex)
{
_logger.error("Error from JMS system.", ex);
throw new CourierException(ex);
}
should be
catch (JMSException ex)
{
_logger.debug("Error from JMS system.", ex);
throw new CourierException(ex);
}
Exception logging
-----------------
Key: JBESB-518
URL:
http://jira.jboss.com/jira/browse/JBESB-518
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 4.2 Milestone Release 1
Reporter: Kevin Conner
Assigned To: Mark Little
There are numerous locations in the code where exceptions are being logged at a high
logging level. Some of these include locations where the exceptions are being rethrown or
ignored.
It would be better if these exceptions were logged at DEBUG level and, if neccessary,
accompanied with an appropriate logging message at a higher level.
--
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