log4j-1.2.8 interface change

D

Divya Mali

Hi,

log4j-1.2.8 introduced an interface change from its previous version that
forces code to be modified (obviously). We have a situation where we will be
shipping a jar file that uses log4j-1.2.8 and our customers, who will be
using classes in our jar, may still be using the previous version of log4j.
Depending on the classpath, either our call to log4j-1.2.8 would fail or our
customers call to old log4j would fail. I was wondering if there was a way
to get around this problem. Would it possible to specify the classpath that
our jar should be using at runtime using a java method (so that the
classpath is not piucked from the environment variable CLASSPATH)?

Thanks,

Ganesh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top