Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create and initialize log4j in our project

 
sivakumar panchu
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to log4j ,please help me how to create and how to initialize log4j
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The easiest and most common way to initialize log4j is to put a log4j.xml or log4j.properties configuration file on the classpath.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic