[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2414) some log.debug and log.trace calls do not have log level checking.

Ahmet A. Akin (JIRA) noreply at atlassian.com
Fri Feb 9 10:03:40 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2414?page=comments#action_26049 ] 

Ahmet A. Akin commented on HHH-2414:
------------------------------------

at least you could have checked if it is used like that in hot spot methods.. oh well. it was such an easy fix.

> some log.debug and log.trace calls do not have log level checking.
> ------------------------------------------------------------------
>
>          Key: HHH-2414
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2414
>      Project: Hibernate3
>         Type: Improvement

>     Reporter: Ahmet A. Akin
>     Priority: Minor

>
>
> simply make a search in the source tree for log.debug, log.trace and add if(log.isDebugEnabled) and if(log.istraceEnabled())
> i guess there are like  50 places this practice is not applied. this is an easy fix.

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




More information about the hibernate-issues mailing list