|
|
Log4J |
Syllabus |
- Introduction
to Logging
- What
is Logging
- Importance
of Logging
- Logging
Frameworks for JAVA
-
Introduction to Log4J
- What
is Log4J?
- Why
we need to use Log4J?
- Log4J
Features
- Log4J
Advantages
-
Log4J Setup for Java: Standalone and Web Applications
- Download
Log4J
- log4J
Jar file
-
log4j.properties
-
Log4J Development Approaches
-
Log4J Programmatic Implementation
-
Logger
-
BasicConfiguror, PropertyConfigurator
- Setting
Logging Level
-
Log4J Logging Levels
-
Default Logging Level
-
Available Logging Levels
DEBUG, INFO, WARN, ERROR and FATAL
-
Log4J Declarative Implementation: log4j.properties Configuration
-
Set Debug Level
-
Set Appender
- Set
PatternLayout
- Set
ConversionPattern
-
Log4J Appenders
-
ConsoleAppender
-
FileAppender
- AdminFileAppender
-
ReportFileAppender
- Setting
Single Appender
- Setting
Multiple Appenders
-
Log4J Implementation with xml file
-
log4j.xml
-
<log4j:configuration>
-
Setting Appenders
- Setting
Log Level
- Setting
Conversion Pattern
-
Conversion Pattern Syntax
- TTCC
-
TTCCLayout
-
Time Elapsed
-
Thread Information
- Logging
Priority
-
Logging Category
- NDC
- Nested Diagnostic Context
- Application
Message
|
|
|
|
|
|