wood burning stoves*
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 Java 8 in Action this week in the Java 8 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: 39576
    
  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: 39576
    
  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?
 
jQuery in Action, 2nd edition
 
subject: log4j levels
 
Similar Threads
Log4j working too good
log4j Vs Eclipse Debugging
what is the use of setting levels in log4j
Debugging Best Practices??
where will be the log4j class in java