Requirements checklist - Artefacts needed to get started with log4j use
For using log4j, the only requirement is to have log4j-<version>.jar in the classpath.
The apache-log4j-extras-<version>.jar are required only for the examples "Rolling & Archiving File On Size", "Rolling & Archiving File Per Day" and "Rolling & Archiving File Per Hour/Minute". For all other examples, the extras jar is not required in the classpath.
The apache-log4j-extras-<version>.jar are required only for the examples "Rolling & Archiving File On Size", "Rolling & Archiving File Per Day" and "Rolling & Archiving File Per Hour/Minute". For all other examples, the extras jar is not required in the classpath.