Find and hire tech professionals

Dice backs GlossaryTech to keep it free for the community

Log4j

Java-based logging utility. It is used as standard logger nowadays. Log4j allows logging on class-by-class basis i.e., each class can be covered. Through Log4j we can turn on or off the logging at runtime by changing the configuration file.

First released 2001
Developed by Ceki Gülcü, Apache Software Foundation
Latest stable version 2
Open-source Not defined

Interesting facts

Log4j has certainly various advantages over System.out.println firstly being checking the output the sout outputs to standard output which is mostly a console window whereas the output from Log4j can be to the console or email server,database table or a log file.

Sign up for updates
straight to your inbox