You are misunderstanding the entire SLF4J/Logging paradigm.  You don't tell 
Hibernate (or SLF4J) what to log - you tell the logging backend what to do with 
the messages Hibernate logged.  And to do that you need to configure the 
logging backend.

> I disagree, because Hibernate causes all the INFO log entries and it
> DEPENDS on SLF4J. My choice for the JDK logger was purely for
> simplicity. However, there must be a way to tell Hibernate to only log
> starting from warning level. That's what I want to know. Configuring
> the JDK logger here doesn't make much sense because Hibernate will use
> whatever I have chosen. If I switch to another SLF4J logger
> implementation then the same problem would reappear, so your answer
> isn't really helpful.
> 
_______________________________________________
slf4j-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/slf4j-user

Reply via email to