Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Log4j

 
Raj kalaria
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi can some one tell me what is log4j? how it is used ?
is it possible for any one to give one small example

any help would be appreciated

Raj
 
Scott Dunbar
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a new tool called "google" that lets you search the web for stuff. It's pretty powerful, you should try it. The first link it show you is the log4j home page which has descriptions and sample code.
 
Raj kalaria
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI

yeh definately google is there, but i thought it would be good for me if some one who has used it and would share his knowledge thats why i thought to ask some help from gurus
 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have used it. It works.

So after reading the log4j home page and the log4j manual, let us know if you have any specific questions.
 
j werner
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What if I just want to use the commons-logging simple logging? I couldn't find anything on google on how to enable this?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Commons logging is a wrapper around either log4j or java.util.logging.
It's goal is to make the two interchangable (pluggable) in an app.
It's not an actual logging package.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic