Pages

Tuesday, 29 October 2013

Components of Log4j

There are mainly 3 components to work with Log4j :

  • Logger :
    Logger component is used to access the log statement in java class instead of printing on console.
  • Appender :
    Appender is used to write the log statement in some specific external file, network, database etc.
  • Layout : 
    Layout component is used to specify the format in which you have to write the log message.

No comments:

Post a Comment