logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Log4j 2.x
Author
Shrinidhi0409



Joined: 24 Sep 2021
Posts: 18
Location: India

PostPosted: Fri 11 Feb '22 7:03    Post subject: Log4j 2.x Reply with quote

Hi,

We are using log4j 1.2.13 in our application. We are planning to upgrade log4j to 2.17.1 version. But in our application we are using LocationInfo class of org.apache.log4j.spi package . But in Log4j 2.x we could not find replacement for this class. Can anyone suggest how can it be replaced with other class or any alternative for this.

Thanks and Regards,
Shrinidhi S
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7288
Location: Germany, Next to Hamburg

PostPosted: Tue 22 Feb '22 12:41    Post subject: Reply with quote

Just googled and found https://logging.apache.org/log4j/2.x/log4j-1.2-api/apidocs/org/apache/log4j/spi/LocationInfo.html and https://logging.apache.org/log4j/2.x/manual/migration.html
Back to top


Reply to topic   Topic: Log4j 2.x View previous topic :: View next topic
Post new topic   Forum Index -> Other Software