[teiid-issues] [JBoss JIRA] (TEIID-2352) START USER COMMAND and END USER COMMAND are not shown with loglevel=DEBUG

Hisanobu Okuda (JIRA) jira-events at lists.jboss.org
Thu Jan 17 00:45:22 EST 2013


    [ https://issues.jboss.org/browse/TEIID-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12746346#comment-12746346 ] 

Hisanobu Okuda commented on TEIID-2352:
---------------------------------------

org.teiid.dqp.internal.process.DQPCore#logMMCommand() should be:-

{code}
[hokuda at localhost process]$ diff -u DQPCore.java.org DQPCore.java.fix1                                      
--- DQPCore.java.org    2012-07-18 19:31:12.000000000 +0900
+++ DQPCore.java.fix1   2013-01-17 14:43:52.224319386 +0900
@@ -690,7 +690,7 @@
        }       
        
     void logMMCommand(RequestWorkItem workItem, Event status, Integer rowCount) {
-       if ((status != Event.PLAN && !LogManager.isMessageToBeRecorded(LogConstants.CTX_COMMANDLOGGING, Mess
ageLevel.DETAIL))                                                                                          
+       if ((status != Event.PLAN && status != Event.NEW && !LogManager.isMessageToBeRecorded(LogConstants.C
TX_COMMANDLOGGING, MessageLevel.DETAIL))                                                                   
                        || !LogManager.isMessageToBeRecorded(LogConstants.CTX_COMMANDLOGGING, MessageLevel.T
RACE)) {                                                                                                   
                return;
        }
[hokuda at localhost process]$ 
{code}
                
> START USER COMMAND and END USER COMMAND are not shown with loglevel=DEBUG
> -------------------------------------------------------------------------
>
>                 Key: TEIID-2352
>                 URL: https://issues.jboss.org/browse/TEIID-2352
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: Server
>    Affects Versions: 7.7.1
>            Reporter: Hisanobu Okuda
>            Assignee: Steven Hawkins
>
> With loglevel=DEBUG, START USER COMMAND and END USER COMMAND log messages are not shown.
> With loglevel=TRACE, they are shown:-
> {code}
> 2013-01-17 13:45:58,205 DEBUG [org.teiid.COMMAND_LOG] (New I/O server worker #1-1:)     START USER COMMAND:startTime=2013-01-17 13:45:58.205        requestID=GQ2RlqzuDfet.0        txID=null       sessionID=GQ2RlqzuDfet      applicationName=JDBC    principal=user at teiid-security   vdbName=PREVIEW_31af68bd-5f4d-4e77-b13c-94823d02dcf8_test_project   vdbVersion=1    sql=select * from "v2"."data2View"   
> ...
> 2013-01-17 13:50:23,968 DEBUG [org.teiid.COMMAND_LOG] (Worker2_QueryProcessorQueue9:)   END USER COMMAND:  endTime=2013-01-17 13:50:23.968  requestID=GQ2RlqzuDfet.0        txID=null       sessionID=GQ2RlqzuDfet  principal=user at teiid-security       vdbName=PREVIEW_31af68bd-5f4d-4e77-b13c-94823d02dcf8_test_project       vdbV
> ersion=1        finalRowCount=2 
> {code}
> But shown as "DEBUG".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list