You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Stefan Bodewig <bo...@apache.org> on 2014/10/12 13:05:25 UTC

Hibernate 4.x/JBoss Logging and Log4j2

Hi

it took me quite some time to get Hibernate 4.x to log using log4j2.
Part of the problem is that most documentation on Hibernate logging is
based on Hibernate 3.x and Hibernate 4.x now uses JBoss Logging which
changes everything.

I finallly figured out how to combine the two (in short, use the slf4j
bridge and explicitly tell jboss logging to use slf4j) and would like to
document it somewhere.  What would you feel is the most appropriate
place to do this?  My first choice would have been the Wiki but this
doesn't seem to be the place the project uses for information like
this.  Where else?  The FAQ, my personal blog, ... ?

Stefan

PS: JBoss Logging's master branch has been supporting log4j2 natively
for three months but hasn't seen any release since then.  This means
whatever I write will become obsolete at one point in time.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Re: Hibernate 4.x/JBoss Logging and Log4j2

Posted by Stefan Bodewig <bo...@apache.org>.
On 2014-10-12, Stefan Bodewig wrote:

> I finallly figured out how to combine the two (in short, use the slf4j
> bridge and explicitly tell jboss logging to use slf4j)

log4j2's slf4j binding, of course.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org