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: CLOSED UPSTREAM
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: 2025-02-10 03:20 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:20:16 UTC
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)

Comment 2 Red Hat Bugzilla 2025-02-10 03:20:16 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


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