Upload
ahmed-m-gomaa
View
270
Download
6
Embed Size (px)
DESCRIPTION
Introduction to Log4J framework in Java by presenting features and how to use it and some samples for configuration files.
Citation preview
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