15 Aralık 2010 Çarşamba

changing hibernate log level

In this link, hibernate log level is changed programmatically:
http://stackoverflow.com/questions/847041/how-do-i-change-hibernate-logging-level

I adopted this way..

Logger.getLogger("org.hibernate").setLevel(Level.ERROR);

However, as the link says, this solution makes you dependent on the logger implementation.

Hiç yorum yok:

Yorum Gönder