RE: log4j2 and Hibernate

2014-02-14 Thread Michael Friedmann
Nick, Thanks for your suggestions. I admit we are using an 'ancient' version of Hibernate. Believe it or not, we were actually using an even older version before log4j2 forced us to a later version. I'll see if we can upgrade for starters and go from there. Michael

Re: log4j2 and Hibernate

2014-02-14 Thread Nick Williams
Oh. Gotchya. It's been so long since I've used ANCIENT Hibernate I had forgotten. ;-) ... So you have the log4j-slf4-impl artifact on your classpath then? Which version of Log4j 2 are you using? What does your Log4j config file look like? Can you take a thread dump when it "hangs" and pinpoint

RE: log4j2 and Hibernate

2014-02-14 Thread Michael Friedmann
Nick, To my knowledge, Hibernate does not use JBoss logging until version 4.x and we're using Hibernate 3.x, so JBoss logging is not on our classpath. Am I mistaken? Michael From: Nick Williams [nicho...@nicholaswilliams.net] Sent: Friday, February 14,

Re: log4j2 and Hibernate

2014-02-14 Thread Nick Williams
Michael, what version of JBoss Logging is on your classpath? N On Feb 14, 2014, at 11:22 AM, Michael Friedmann wrote: > We are using log4j2 and Hibernate (3.6.0.Final) wired through Spring > (HibernateJpaVendorAdapter). Whenever 'showSql' is set to true, this seems > to cause the application

log4j2 and Hibernate

2014-02-14 Thread Michael Friedmann
We are using log4j2 and Hibernate (3.6.0.Final) wired through Spring (HibernateJpaVendorAdapter). Whenever 'showSql' is set to true, this seems to cause the application to hang (deadlock?) - needless to say without displaying any native SQL logging. Anyone else run into this issue? We need to