JAR Tools (101)
Using Log4j 1.2 Bridge with Log4j 2 API
How can I run my application with both Apache Log4j 2 API and Log4j 1.2 API? My program has two parts, one part uses the new Log4j 2 API, but the other part uses the old Log4j 1.2 API.
The Apache Log4j 2 package comes with the Log4j 1.2 Bridge module to allow you run programs that use both Log4j 2 API and Log4j 1.2 API.
When you run your program, you need to include these JAR files in the classpath:
Warning, you should not include log4j-1.2.x.jar in the classpath. Log4j 1.2 API calls will be handled by log4j-1.2-api-2.x.jar.
The picture belows shows you the JAR dependency diagram of your application and Log4j JAR files.
⇒ Trace Logging on Apache Log4j API
⇐ Running Program with Apache Log4j Configuration
⇑ Using Apache Log4j in Java Programs
2022-12-22, 10050🔥, 2💬
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
Swingx is the SwingLabs Swing Component Extensions. JAR File Size and Download Location: File name: ...
SLF4J API is a simple API that allows to plug in any desired logging library at deployment time. Her...
How to merge two JAR files with "jar" commands? I am tired of specifying multiple JAR files in the c...
Apache Axis2 is the core engine for Web services. It is a complete re-design and re-write of the wid...