playframework 2.0 - Play sbt Hibernate -


i have play application in sbt project , integrated hibernate validator gives me huge load of debug logging. want change log level. project has typical play/sbt architecture :

project ---app ---conf ---project ---target ---test ---build.sbt 

i checked hibernate dependencies seems use log4j. nows file have create , put ? in debug logs seems meta-inf/validation.xml if tells something.

in config file specify log level hibernate. f.e. in application.conf file

logger.org.hibernate=error 

or specify package f.e.

logger.org.hibernate.<pack_level_1><.pack_level_2><.classname>=error logger.org.hibernate.validator=error 

Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -