logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: adding log4j 2.x support to a library
Date Wed, 29 Apr 2015 20:54:29 GMT
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 <mike@calmus.org> 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: garydgregory@gmail.com | ggregory@apache.org
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message