Use the Apache Log4j 1.2 API bridge for tinylog 2
v2.8If your application or its dependencies use the legacy Apache Log4j 1.2 API, you can redirect those log calls to tinylog 2 using log4j1.2-api.jar. This allows you to replace the legacy log4j.jar with the tinylog bridge, ensuring all log entries are processed by the tinylog 2 implementation.
Log entries forwarded through this bridge are treated identically to native tinylog 2 log entries.
Required JARs in classpath:
- log4j1.2-api.jar
- tinylog-api.jar
- tinylog-impl.jar (or another tinylog implementation)