[jboss-dev] hibernate 3.3.0 upgrade, slf4j introduction into jbossas

Steve Ebersole steve at hibernate.org
Tue May 13 09:51:48 EDT 2008


I can upgrade to 1.5.0.  1.4.2 was simply the latest at that time I  
did the conversion.

On May 13, 2008, at 4:55 AM, Dimitris Andreadis wrote:

> I understand that sooner or later we'll have to incorporate a  
> library using the slf4j logging facade, so it's just a matter of time.
>
> I quickly wrote an slf4j-to-jboss-logging-spi adapter (slf4j-jboss- 
> logging) so then it won't matter if hibernate uses slf4j or not, it  
> will simply forward to our jboss-logging-spi.
>
> The only thing we don't support in the spi is slf4j's Logger:
>   ...
>   public void log(Marker marker, String callerFQCN, int level,  
> String msg, Throwable t)
>   ...
>
> We don't do markers and ignore the callerFQCN. Everything else fits  
> nicely on top of jboss-logging-spi, including MDC.
>
> Also, I don't see slf4j causing problems with application that want  
> to override it, as long as they scope their deployments so that  
> slf4j-api can pickup a different slf4j back-end binding.
>
> PS
> any reason hibernate used slf4j-api 1.4.2? latest version is 1.5.0)
>
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development


-----------------------------
Steve Ebersole

Project Lead
http://hibernate.org
steve at hibernate.org







More information about the jboss-development mailing list