[ 
http://issues.apache.org/jira/browse/IBATIS-151?page=comments#action_12313411 ] 

Vernon Wong commented on IBATIS-151:
------------------------------------

I understand that the statistical logging of the execution time of the 
statement would slow down the execution, but in cases when investigations are 
required, this information would be invaluable.

Could I suggest that such logging be only tagged to DEBUG level, and thus it 
should only log when the log level demands of it. During normal scenarios, the 
logging would be omitted which should have minimal to no impact on the 
execution time.

> Detailed logs for statement execution
> -------------------------------------
>
>          Key: IBATIS-151
>          URL: http://issues.apache.org/jira/browse/IBATIS-151
>      Project: iBatis for Java
>         Type: New Feature
>   Components: SQL Maps
>     Versions: 2.0.9b
>     Reporter: Vernon Wong
>     Priority: Minor

>
> There are currently no logs during the SQLMap execution that captures the 
> execution time of the statement and the object generation time by SQLMap.
> These performance logs can help to provide useful information on the 
> statements usage and performance, without the influence of object creation 
> time. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to