In this link, hibernate log level is changed programmatically:
http://stackoverflow.com/questions/847041/how-do-i-change-hibernate-logging-levelI 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