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