Log4J Framework
Ahmed Gomaa11th Mar , [email protected]
Agenda• Logging Brief• Logging Pros & Cons• Log4j Framework• Target Audience• Installation• Log4J Framework Architecture
– Logging Levels– Filters
• Log4J Configuration Files• Demo• Questions
Logging Brief
• Logging is the act of recording events taking place in the execution of a system in order to provide an audit trail that can be used to understand the activity of the system and to diagnose problems.
Check below link for further details:Log4j Tutorial
Pros & Cons
Log4j Framework
Target Audience
Installation
Architecture
Architecture – cont.
Architecture – Support Objects
Log4j Configuration filesLog4j.xml configuration sample
Log4J Configuration – Cont.
Log4j.properties configuration sample
Questions