Batch
Date: Nov 29th @ 9AM
Faculty:
Mr. Rajashekar
Duration:
1 day - four hours
Fee: 200/-
INR +Reg Fee 100/-INR
Location
: Maitrivanam, Hyderabad.
Venue
:
DURGA SOFTWARE SOLUTIONS at Maitrivanam
Plot No : 202,
IInd Floor ,
HUDA Maitrivanam,
Ameerpet, Hyderabad-500038
PhoNo: 9246212143
Syllabus:
1. Introduction
to Logging
- What
is Logging
- Importance
of Logging
- Logging
Frameworks for JAVA
2. Introduction to Log4J
- What
is Log4J?
- Why
we need to use Log4J?
- Log4J
Features
- Log4J
Advantages
3. Log4J Setup for Java: Standalone and Web Applications
- Download
Log4J
- log4J
Jar file
-
log4j.properties
4. Log4J Development Approaches
5. Log4J Programmatic Implementation
-
Logger
-
BasicConfiguror, PropertyConfigurator
- Setting
Logging Level
6. Log4J Logging Levels
-
Default Logging Level
-
Available Logging Levels
DEBUG, INFO, WARN, ERROR and FATAL
7. Log4J Declarative Implementation: log4j.properties Configuration
-
Set Debug Level
-
Set Appender
- Set
PatternLayout
- Set
ConversionPattern
8. Log4J Appenders
-
ConsoleAppender
-
FileAppender
- AdminFileAppender
-
ReportFileAppender
- Setting
Single Appender
- Setting
Multiple Appenders
9. Log4J Implementation with xml file
-
log4j.xml
-
<log4j:configuration>
-
Setting Appenders
- Setting
Log Level
- Setting
Conversion Pattern
10. Conversion Pattern Syntax
- TTCC
-
TTCCLayout
-
Time Elapsed
-
Thread Information
- Logging
Priority
-
Logging Category
- NDC
- Nested Diagnostic Context
- Application
Message