This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes log4j levels Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "log4j levels" Watch "log4j levels" New topic
Author

log4j levels

anish jain
Ranch Hand

Joined: Feb 03, 2010
Posts: 129
I am new to logging in java..
Could anybody please help me regarding how to use the different log4j levels i.eDEBUG,INFO,WARN,ERROR,FATAL etc. while writing the java source code..?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39529
    
  27
Have you seen and worked through the "Introduction" page on the log4j web site? It covers this.


Ping & DNS - updated with new look and Ping home screen widget
anish jain
Ranch Hand

Joined: Feb 03, 2010
Posts: 129
Ulf Dittmer wrote:Have you seen and worked through the "Introduction" page on the log4j web site? It covers this.


Yes I did go though it.. but couldn't understand properly.
Could you please explain these in more layman terms?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39529
    
  27
There are lots of more gentle log4j introductions out there, like the ones linked in the OtherOpenSourceProjectsFaq.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

What, exactly, do you want to know?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: log4j levels
 
Similar Threads
Debugging Best Practices??
what is the use of setting levels in log4j
where will be the log4j class in java
log4j Vs Eclipse Debugging
Log4j working too good