GithubHelp home page GithubHelp logo

Logging framework about protobuf-rpc-pro HOT 2 CLOSED

pjklauser avatar pjklauser commented on July 18, 2024
Logging framework

from protobuf-rpc-pro.

Comments (2)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
I fully understand your point. i've used ACL for many many years in libraries, 
but when it comes to choosing a logging framework at container level i used to 
use log4j - but due to the arrival of SLF4j in several open source libraries, 
its not possible to use log4j on container level and get the SLF4j logging into 
it nicely. The consequence is that the container needs to use SLF4j and 
configure it so all logging frameworks log over SLF4j.



<dependency>
                        <groupId>org.slf4j</groupId>
                        <artifactId>jcl-over-slf4j</artifactId>
                        <version>1.6.1</version>
                    </dependency>
                    <dependency>
                        <groupId>org.slf4j</groupId>
                        <artifactId>log4j-over-slf4j</artifactId>
                        <version>1.6.1</version>
                    </dependency>
                    <dependency>
                        <groupId>org.slf4j</groupId>
                        <artifactId>jul-to-slf4j</artifactId>
                        <version>1.6.1</version>
                    </dependency>
                    <dependency>
                        <groupId>ch.qos.logback</groupId>
                        <artifactId>logback-classic</artifactId>
                        <version>0.9.26</version>
                    </dependency>



 ( Personaly i dont know why we need yet another simple logging framework - considering i havent seen anything in SLF4j that you can't do in log4j or whatever )

I will investigate whether to change to direct SLF4j logging in the next 
release....with your other functional requests...:)

Original comment by [email protected] on 5 Jul 2012 at 9:34

  • Changed state: Accepted

from protobuf-rpc-pro.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
It looks like even netty has had this issue discussed:
https://netty.io/Blog/To+use+SLF4J+or+not%2C+that+is+the+question

they have their own internal logging layer - where it makes even sense for them 
to migrate to slf4j instead of modifying their own logger to use slf4j 
internally. So i finally moved with the log4j-migrator util to slf4j native.

Original comment by [email protected] on 2 Jan 2013 at 2:23

  • Changed state: Fixed

from protobuf-rpc-pro.

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.