Giter VIP home page Giter VIP logo

Comments (4)

masooh avatar masooh commented on June 14, 2024 1

Unfortunately it does not work with slf4j 1.7.30.

 SLF4J: Defaulting to no-operation (NOP) logger implementation                                                                                                                                                                                                               
 SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.         

This is due to the missing StaticLoggerBinder which is present in logback-classic 1.2.3, but absent in 1.3.0-alpha4.

SLF4J 1.8 and Loback 1.3 seems to have breaking changes according to https://stackoverflow.com/questions/55745651/logback-upgrade-from-1-1-11-to-1-3-0-alpha4-in-spring-boot-1-5-8-application

from jlib-awslambda-logback.

igorakkerman avatar igorakkerman commented on June 14, 2024

Hi @lestephane,

The short answer is: I believe you can use SLF4J 1.7 but it hasn't been tested.

When I initially developed the library, it seemed like SLF4J 1.8 would be officially released soon, which is why I decided to test with the latest available version and to also in the documentation suggest to use 1.8. However, this library only has a runtime dependency on SLF4J and afaik no 1.8 specific API is being used. But this has not been tested.

In case you want to give it a try, I'd be thrilled to hear from your experience.

from jlib-awslambda-logback.

lestephane avatar lestephane commented on June 14, 2024

I'm going to test this, but I can't get it to work even with 1.8 as it stands. I'll file a separate issue for that when I have time.

from jlib-awslambda-logback.

igorakkerman avatar igorakkerman commented on June 14, 2024

Thank you! I will try to assist you with both issues to the best of my abilities.

from jlib-awslambda-logback.

Related Issues (8)

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.