Apache log4j is a Java-based logging utility. It was originally written by Ceki Gülcü and is now a project of the Apache Software Foundation. log4j is one of several Java logging frameworks.
- Log4j Levels
Learn about different levels of logging in Log4j.
- Log4j Appenders
List of all appenders in Log4j.
- Log4j Layouts
List of all layouts that can be used to customize output in Log4j.
- Log4j Example
A very basic example to generate logs in a program.
- Log4j Configuration Using Properties File
Learn how to configure Log4j using properties file.
- Log4j Configuration Using XML File
Learn how to configure Log4j using xml file.
- Logging in Files
Learn how to write logging information into files.
- Logging in Database
Learn how to put logging information into database.
- Log4j Multiple Appender
Learn how to configure multiple appenders using properties file.
- Log4j Multiple Appender using XML File
Learn how to configure multiple appenders using xml file.
