Training Course "Effective Use of Log4J"

"Effective Use of Log4J" is a 1 day course that will enable your developers to implement Log4J effectively in their code in a meaningful and consistent fashion.

Hands-On Training

The course provides a hands-on environment, with real life examples illustrating a number of logging strategies. You will be provided with comprehensive notes and a set of references for future background reading.

Course Content

  • Logging Options
  • Concepts of Log4j
  • Installation and setup
  • Logger options
  • Appender options
  • Layouts
  • Logging Strategies
  • Simple worked example
  • Advanced Techniques
  • Advanced worked example

Course Fees and Schedule

Courses are run on a regular basis. Select the following for our schedule and fees.

Customisation

In some cases it can be more appropriate and cost-effective to bring training directly to your company site. We can tailor the training to your company's individual needs without compromising the quality.

If you would like further information about the Struts course or you are interested in an onsite or customised course then please complete the following form, click here

Prerequisites

It is assumed that students attending this course have a solid background in Java programming and OO design. In addition, they should already have had some exposure to the use of Servlets and JSP.

Content Overview

Introduction and Overview

Logging options

Logging package requirements
Logging package comparison
Traditional techniques

Concepts of Log4j

Key objectives
A strategy for use

Installation and setup

Setup and configuration exercise

Logger options

Logger concepts (including the root logger)
Logger examples

Appender options

Appenders theory
Appender examples

Layouts

Layout / level theory
Practical example

Logging Strategies

Configuration file
Programmatic configuration

Simple Worked example

Advanced Techniques

JDBCAppender
Nested Diagnostic Context (NDC)
Mapped Diagnostic Context

Advanced Worked example

Course Summary

Glossary