The use of log4j revolves around 3 main things:
public class Logger
Logger is responsible for handling the majority of log operations.
public interface Appender
Appender is responsible for controlling the output of log operations.
public abstract class Layout
Layout is responsible for formatting the output for Appender.