|
Re: Disable logging information of Teneo/Hibernate [message #1403321 is a reply to message #1403219] |
Tue, 22 July 2014 23:26 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Thomas,
Have you tried the log4j debug option to see which log4j properties file is being used?
to see this add this to the jvm args:
-Dlog4j.debug=true
gr. Martin
On 22-07-14 14:03, Thomas Zwickl wrote:
> Hello,
>
> I'm really having some hard time to figure out how to deactivate the logging information that teneo/hibernate is
> producing. We are using a logging console to print information for the user, but at the initial start-up of the
> application, when the database is created by hibernate, teneo/hibernate prints so many logging information to the
> console that you completely lose the orientation of what is important and what not. I already tried out almost
> everything I could find in the internet, but nothing worked for me so far ... I'm having a RCP application which
> consists of several plug-ins and one EMF model which represents my entire data-structure which I'm saving in a database
> with teneo/hibernate.
>
> My Hibernate version is 3.6.0 and my Teneo version is 1.2.0
>
> I already tried the following things out:
>
> I added a log4j.properties to my EMF Model Project as described on this site:
> https://wiki.eclipse.org/Teneo/Hibernate/FAQ#Troubleshooting_the_Mapping_and_Runtime_layer.2FHibernate
> Furtheremore I already tried out everything that works with Hibernate. I added slf4j-api.jar to my plug-in and
> log4j.jar. Then I created the same log4j.properties file but this didn't work as well.
>
> Maybe someone has encountered the same problems and found a way to solve them ;) I really would appreciate any help or
> pointers you can provide.
>
> Best regards,
> Tom
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
|
|
|
|
Powered by
FUDForum. Page generated in 0.03376 seconds