Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
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: 41621
    
  55
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: 41621
    
  55
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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: log4j levels