You can replace the log4j 1 jar with the log4j 2 compatiblity API. You'll also need the log4j 2 API and Core modules.
Please see https://logging.apache.org/log4j/2.x/manual/migration.html Gary On Wed, Apr 29, 2015 at 12:53 PM, Mike Calmus <[email protected]> wrote: > We have some existing code that is used as a library by other projects. > This code uses log4j 1.2. We would like to convert it to use log4j 2.x but > not remove support for 1.2 so that projects that have not yet migrated can > still see logging. Any thoughts on how this might be accomplished? > > Thanks. > -- E-Mail: [email protected] | [email protected] Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
