Giter Site home page Giter Site logo

Add log4j backend about flogger HOT 9 CLOSED

EdwinKempin avatar EdwinKempin commented on May 10, 2024
Add log4j backend

from flogger.

Comments (9)

ben-manes avatar ben-manes commented on May 10, 2024 3

Would there be much harm in having an slf4j backend?

from flogger.

cslee00 avatar cslee00 commented on May 10, 2024 1

Started this for logback: https://github.com/cslee00/digitalascent-flogger-logback, working through how to drop it into Flogger

from flogger.

cslee00 avatar cslee00 commented on May 10, 2024 1

Clunky to chain together two logging APIs (flogger, slf4j) - there are overlaps in responsibilities as they both provide a facade on back-end logging implemementations. Cleanest from an implementation & performance perspective to use back-end loggers directly.

from flogger.

EdwinKempin avatar EdwinKempin commented on May 10, 2024

You can assign this issue to me. I'm already looking at ways to implement this.

from flogger.

Bananeweizen avatar Bananeweizen commented on May 10, 2024

@ben-manes Do I get it right that you suggest chaining flogger to slf4j to any of the logging frameworks underneath? In a sense that this would be more flexible than the suggest log4j-only implementation? If so, I'm +1. :)

from flogger.

EdwinKempin avatar EdwinKempin commented on May 10, 2024

This got merged now:
#23

from flogger.

davido avatar davido commented on May 10, 2024

What about log4j2 backend? There are these CLs pending for review for Gerrit: [1] and many other distros, e.g. ElasticSearch (that Gerrit currently depends on) already migrated to log4j2.

[1] https://gerrit-review.googlesource.com/#/q/topic:update-log4j-to-log4j2

from flogger.

EdwinKempin avatar EdwinKempin commented on May 10, 2024

I think writing a backend for log4j2 would be straight-forward now that we have one for log4j, but it's nothing I'm planning to look at.

from flogger.

paladox avatar paladox commented on May 10, 2024

Though log4j2 syntax is significantly different to log4j.

from flogger.

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.