On Friday 06 July 2007 11:55:52 am Jason T. Greene wrote:
On Fri, 2007-07-06 at 11:42 +0200, Max Rydahl Andersen wrote:
> >> MDC). That means I can move to log4j, slf4j, or logback. Out of
> >> those, slf4j seemed the most reasonable in terms of allowing easy
> >> integration with
> >> various environemtns.
> >
> > As I said a couple messages above, java.util.logging is more robust,
> > and allows formatters which could use thread local variables (I find
> > this habit of using hypish names to refer to simple pre-existing
> > things to be very annoying).
> >
> > You don't really seem to be interested in our opinion overall, and
> > seem to be willing to use slf4j anyway, so I'm not sure what's the
> > point of posting here.
> >
> > Rémy
>
> Eh - Steve very clearly explained why jul is is not an option; it does
> not have NDC/MDC.
As Remmy said, this is easy to implement (it just a fancy name for using
a thread local). Also, I just looked at sl4j's source, and it relies on
the logging backend to actually implement MDC and NDC, so if you use
it's JUL backend it doesn't work!!
Of course!
But why should I care. I don't want to write logging frameworks. I can't
think of anything more f'n boring.