TrainBeaser for iPhone
The moose likes Other Open Source Projects and the fly likes Slf4j with Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Other Open Source Projects
Reply Bookmark "Slf4j with Hibernate" Watch "Slf4j with Hibernate" New topic
Author

Slf4j with Hibernate

Padma Priya
Ranch Hand

Joined: Feb 01, 2007
Posts: 103
Hi all,

I was going through this Tutorial for running hibernate in eclipse. The tutorial says to include slf4j-api.jar in you classpath. I could get the example to run. But i was wondering that there is no logging specific code in any of the java files in the example. Then how could the logging messages be displayed on to the console without any code. could anyone explain me the internal working of slf4j as i am new to this technology.

Thanks in advance for your time and patience

With regards
Deepthi
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 12867

Why do you ask for an explanation of the internal workings of SLF4J when your real question is simply "Where would logging be coming from when the Java code I saw doesn't do any?"

The logging would be coming from Hibernate.
 
 
subject: Slf4j with Hibernate
 
MyEclipse, The Clear Choice