Giter VIP home page Giter VIP logo

Comments (5)

pankajagrawal16 avatar pankajagrawal16 commented on August 17, 2024

Hi @bbatpp Thanks for reporting the issue. I will have a look at this.

from powertools-lambda-java.

pankajagrawal16 avatar pankajagrawal16 commented on August 17, 2024

Hi @bbatpp I tried replicating the issue and it seems to work fine in the sample application that I have. Meaning .isDebugEnabled return correct value.

That being said, It is a best practice to set getContext to false in application server environment where different applications and even the application server itself might be using log4j2. Per my understanding, setting it to true one might end up re-configuring/writing into loggers of other applications or application server depending on how they in turn have obtained the context.

Could it be an idea for you to just try what the behavior is when you set it to true in your application?

from powertools-lambda-java.

pankajagrawal16 avatar pankajagrawal16 commented on August 17, 2024

Hi @bbatpp Any more insights into this issue?

from powertools-lambda-java.

bbatpp avatar bbatpp commented on August 17, 2024

from powertools-lambda-java.

pankajagrawal16 avatar pankajagrawal16 commented on August 17, 2024

Ok makes sense. In that case I will close the issue for now. Feel free to open new issue/reopen this in case of further issues. @bbatpp

from powertools-lambda-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.