log4j is a debugging tool, written in Java, which logs statements to a file, a java.io.Writer, or a syslog daemon.