[zeromq-dev] JeroMQ - Add logging

Pieter Hintjens ph at imatix.com
Tue Dec 31 17:46:37 CET 2013


I'll add my 5c here: our C4 process suggests you simply make such a
change, so people can try it, and then continue with their own
patches, or revert it if they don't like it. That is usually much
easier than looking for consensus upfront.

On Tue, Dec 31, 2013 at 3:51 AM, Joshua Foster <jhawk28 at gmail.com> wrote:
> What sort of debugging are you trying to solve?
>
> Logging statements can be done well and poorly.This also depends on what
> sort of debugging is needed.
>
> slf4j is an external library, have you considered using java.util.logging?
>
> Joshua
>
> On Dec 30, 2013, at 8:11 AM, pablo fernandez <fernandezpablo85 at gmail.com>
> wrote:
>
> Hi guys,
>
> I'm Moving the conversation that started here[1] to the mailing list in
> request of @Miniway (I assume he/she is jeromqs leader).
>
> My motivation for adding logging into jeromq:
>
> 1) It greatly improves debugging.
>
> 2) The performance impacts with logging turned off are minimal. And even if
> they were noticeable, if you really want raw speed you're probably better of
> with the C wrapper.
>
> 3) JeroMQ should only depend on slf4j which is a facade, not an
> implementation. This keeps it pretty much dependency-free and doesn't
> prohibit it's use with android (on the contrary, there are many slf4j
> implementations for android).
>
> JeroMQ can improve a lot by adding logging IMHO.
>
>
> [1] https://github.com/zeromq/jeromq/issues/128
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list