[hibernate-dev] Core Logging WTF!?

Steve Ebersole steve at hibernate.org
Thu Nov 11 09:54:21 EST 2010

Calm down chief...

I wanted to try the simple sl4fj backend as a means to alleviate the logging 
configuration files.  Does it meet all of our needs?  Dunno, thats kind of the 
idea of "try".  If it does not, feel free to switch tests back to rely on 
log4j.  My main concern here was the requirement to remember to revert 
log4j.properties changes prior to committing.  But there are potentially other 
means to achieve that that I want to look at (going back to the notion of a 
"local/properties" directory added to the test classpaths like i did in the 
old ant builds).

On Thursday, November 11, 2010, at 08:17 am, Hardy Ferentschik wrote:
> Hi,
> can someone enlighten me on how to configure the logging at the moment?
> For an issue I am working on I wanted to increase the log level to debug
> in the hibernate-core module of master.
> As always I went to log4.properties and started to edit it. Needless to
> say that nothing happened. First I thought
> something must be wrong with the IDE setup, but it turned out the same
>  from the command line build :(
> At some stage while growing more and more frustrated I remembered that
> there is talk and work in progress for changing
> the logging. I finally checked the logging dependencies where I found:
>          slf4j_simple:   'org.slf4j:slf4j-simple:' + slf4jVersion,
>          jcl_slf4j:      'org.slf4j:jcl-over-slf4j:' + slf4jVersion,
>          jcl_api:
> 'commons-logging:commons-logging-api:99.0-does-not-exist',
>          jcl:
> 'commons-logging:commons-logging:99.0-does-not-exist',
> So I take it that we are not using log4j anymore, but how do I configure
> logging now? And why do we still have the
> log4j.properties files checked in, if they are obsolete?
> --Hardy
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev

Steve Ebersole <steve at hibernate.org>

More information about the hibernate-dev mailing list