[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2696) Consider migrating to slf4j

Steve Ebersole (JIRA) noreply at atlassian.com
Fri Jun 29 08:14:52 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27345 ] 

Steve Ebersole commented on HHH-2696:
-------------------------------------

Does slf4j define MDC/NDC style operations?  Anything I move to would need that capability.  Actually I had considered a move to direct log4j use to get these features.

> Consider migrating to slf4j
> ---------------------------
>
>                 Key: HHH-2696
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2696
>             Project: Hibernate3
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.2.4
>            Reporter: Koda Janh
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> Please consider migrating away from commons-logging and onto slf4j for the reasons mentioned here: http://www.qos.ch/logging/classloader.jsp
> The author of log4j went on to write "logback" which is an implementation of slf4j that has much better performance than log4j and much cleaner output. I recommend you evaluate these alternatives seriously and consider them for future releases of Hibernate.
> To ease migration you could use the "log4j bridge" mentioned here: http://logback.qos.ch/bridge.html
> You simply replace log4j's jar by the bridge jar and all log4j method calls get redirected to logback under the hood.

-- 
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