• Post Reply Bookmark Topic Watch Topic
  • New Topic

Common-Logging and Log4j in Hibernate

 
jacob deiter
Ranch Hand
Posts: 585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

What is the difference between Commom-logging and Log 4j.IN Hibernate,is it nessary to use both common logging and Log4j.I read a book ,in that they use coomon logging and Log4j.If both Tool do the same work,then why same use in same application
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Commons logging is an abstraction layer on top of logging frameworks, it doesn't in itself log anything.

log4j is a logging framework. It does the actual logging.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!