This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 41048
    
  43
Have you seen and worked through the "Introduction" page on the log4j web site? It covers this.


Ping & DNS - my free Android networking tools app
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: 41048
    
  43
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
Log4j working too good
where will be the log4j class in java
what is the use of setting levels in log4j
Debugging Best Practices??
log4j Vs Eclipse Debugging