Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

log4j levels

 
anish jain
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you seen and worked through the "Introduction" page on the log4j web site? It covers this.
 
anish jain
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are lots of more gentle log4j introductions out there, like the ones linked in the OtherOpenSourceProjectsFaq.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What, exactly, do you want to know?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic