When I start up an application using Uby I get several screenfuls of
useless INFO logging messages from Hibernate. How can I get rid of these?
I want only warnings or worse to be displayed.
I tried adding the following line to my application's log4j.properties file:
log4j.logger.org.hibernate = WARN
However, this has no effect. I turned on log4j debugging, which confirmed
that this line of the properties file is being read and successfully
applied. There's also no indication that any other log4j.properties is
being read in that might override this setting.
I've also tried adjusting the log level from within the program (via
Logger.getLogger("org.hibernate").setLevel(Level.WARN)) and disabling the
DBConfig's setShowSQL(), but these had no effect either.
Regards,
Tristan
--
Tristan Miller, Doctoral Researcher | Tel: +49 6151 16 6166
Ubiquitous Knowledge Processing Lab | Fax: +49 6151 16 5455
Department of Computer Science | mil...@ukp.informatik.tu-darmstadt.de
Technische Universität Darmstadt | http://www.ukp.tu-darmstadt.de/