Hibernate 4.x Logging Configuration

1.5k views Asked by At

I'm trying to find somthing about Hibernate 4.x logging configuration using jboss-logging, not log4j. Can anybody helps me? I need to disable info logging...

3

There are 3 answers

0
ams On BEST ANSWER

JBoss logging seems to be a facade which delegates to an underlying logging framework. https://github.com/jboss-logging/jboss-logging/blob/master/src/main/java/org/jboss/logging/LoggerProviders.java has the source code for how jboss logging configures itself.

So you must figure out which underlying framework jboss-logging is using and based on that you can figure out what configuration options apply.

0
Manisha Mahawar On

Look in /standalone/configuration/standalone.xml (or as/domain/configuration/domain.xml) file. Search for . Hopefully you will see all the categories and their levels here. You should be able to modify the level here.

0
Avihai Marchiano On

Jboss has its own logging file. look for 'jboss-log4j.xml' you should control on hibernate from there. i think under conf.