Author: jolee
Date: 2013-02-05 14:36:43 -0500 (Tue, 05 Feb 2013)
New Revision: 4548
Modified:
branches/7.7.x/engine/src/main/java/org/teiid/dqp/internal/process/DQPCore.java
Log:
TEIID-2352: START USER COMMAND and END USER COMMAND are not shown with loglevel=DEBUG
Modified: branches/7.7.x/engine/src/main/java/org/teiid/dqp/internal/process/DQPCore.java
===================================================================
---
branches/7.7.x/engine/src/main/java/org/teiid/dqp/internal/process/DQPCore.java 2013-01-31
19:54:35 UTC (rev 4547)
+++
branches/7.7.x/engine/src/main/java/org/teiid/dqp/internal/process/DQPCore.java 2013-02-05
19:36:43 UTC (rev 4548)
@@ -691,7 +691,7 @@
void logMMCommand(RequestWorkItem workItem, Event status, Integer rowCount) {
if ((status != Event.PLAN &&
!LogManager.isMessageToBeRecorded(LogConstants.CTX_COMMANDLOGGING, MessageLevel.DETAIL))
- || !LogManager.isMessageToBeRecorded(LogConstants.CTX_COMMANDLOGGING,
MessageLevel.TRACE)) {
+ || (status == Event.PLAN &&
!LogManager.isMessageToBeRecorded(LogConstants.CTX_COMMANDLOGGING, MessageLevel.TRACE)))
{
return;
}
Show replies by date