Hello again.
I've been trying to learn the basics of Hibernate in order to further tweak owldb into my needs.
I wrote some java code to store a big ontology in mysql, and now I want to retrieve information from the database. I have a class that connects to the database, but every time it does so, I get a long list of Hibernate logs printed to the console. How can I prevent that from happening?
I've been redirected to the logging.properties file, but since I am not using your examples (I simply have some .java files that I compile with using a classpath containing "owldb.jar" and the "*.jar" in the lib/ directory).
Where should I put the logging.properties file, and must I change the classpath for it to work?
Thank you very much.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
see the documentation for plain Java logging. You just need to add the relative or absolute filename to the command line, e.g.:
-Djava.util.logging.config.file=.\conf\logging.properties
Jürgen.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello again.
I've been trying to learn the basics of Hibernate in order to further tweak owldb into my needs.
I wrote some java code to store a big ontology in mysql, and now I want to retrieve information from the database. I have a class that connects to the database, but every time it does so, I get a long list of Hibernate logs printed to the console. How can I prevent that from happening?
I've been redirected to the logging.properties file, but since I am not using your examples (I simply have some .java files that I compile with using a classpath containing "owldb.jar" and the "*.jar" in the lib/ directory).
Where should I put the logging.properties file, and must I change the classpath for it to work?
Thank you very much.
Hi,
see the documentation for plain Java logging. You just need to add the relative or absolute filename to the command line, e.g.:
-Djava.util.logging.config.file=.\conf\logging.properties
Jürgen.
Thanks :)