Friday, 25 March 2016

What is JUL (Java Util Logging) ?


Java Util Log­ging (JUL) is Java 's own log­ging frame­work to make log­ging more con­fig­urable then the pre­vi­ous usage of System.out.println(), System.err.println() and e.printStackTrace() usage.

JUL is provided by Java package java.util.logging (introduced in 2002 with Java 1.4)

Java Util Log­ging is not very devel­oper friendly.
It con­tains just a very basic way of log­ging, a method called log where you always have to indi­cate the level.

And those lev­els are not very clear for usage :
  • SEVERE
  • WARNING
  • INFO
  • CONFIG
  • FINE
  • FINER
  • FINEST

No comments:

Post a Comment

Note: only a member of this blog may post a comment.