Bug 839715 - Log at a higher level than 'Debug' for ActionProcessingPipeline exceptions
Summary: Log at a higher level than 'Debug' for ActionProcessingPipeline exceptions
Keywords:
Status: NEW
Alias: None
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JBossESB
Version: 5.2.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-12 15:56 UTC by Rick Wagner
Modified: 2021-10-15 11:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Rick Wagner 2012-07-12 15:56:38 UTC
Description of problem: ActionProcessingPipeline logs errors at 'DEBUG' level.  This can hide important information, could we turn this up to 'INFO' at least?

Here's the suggested change area:
catch (final Exception ex)
{
	final long procTime = System.nanoTime() - actionStart;
	if (LOGGER.isDebugEnabled())
	{
		LOGGER.debug("Unexpected exception caught while processing the action pipeline",ex);



It's understood that processing will still continue (hence the low level in the first place), but turning the error up a little will help bring attention to things that could otherwise be lost.

Example:  If BusinessRulesProcessor fails to parse rules for some reason, we'd get a message in the log like this:

2012-07-12 10:32:39,756 WARN  [org.jboss.soa.esb.listeners.message.ActionProcessingPipeline] (pool-32-thread-1) No fault address defined for fault message!...



Where turning up logging to DEBUG reveals this:
2012-07-12 10:32:39,742 DEBUG [org.jboss.soa.esb.listeners.message.ActionProcessingPipeline] (pool-32-thread-1) Unexpected exception caught while processing the action pipeline
org.jboss.soa.esb.actions.ActionProcessingException: Generation raised the following errors: [DialectError message='Unable to wire compiled classes, probably related to compilation failures:[Error: no such identifier: FIRMA]
[Near : {... FIRMA.length ....}]
             ^
[Line: 1, Column: 1]']

	at org.jboss.soa.esb.actions.BusinessRulesProcessor.process(BusinessRulesProcessor.java:134)
	at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:649)


Note You need to log in before you can comment on or make changes to this bug.