[Mondrian] [mondrian] Convert Mondrian to use SLF4J. (#61)

Julian Hyde jhyde at pentaho.com
Thu Mar 28 15:48:35 EDT 2013


I'm consulting with Pentaho architects back-channel to see what would work. There seems to be general support for the idea at this point.

It seems that the pull request is against the lagunitas branch (i.e. mondrian-4.0). That's good. I think changing to SLF4J would be too disruptive in a point release (e.g. 3.7).

I would also favor a "pure" use of SLF4J, without any references to log4j, logback or any other logging framework in the code. It remains to be seen whether that goal is a reasonable one.

(It's interesting. This discussion is analogous to the discussion about whether to move applications to olap4j versus continuing to use Mondrian's API. SLF4J was created in part to allow people to move from a legacy API (log4j) to a newer one (logback) -- similar to my motivations for creating olap4j.)

Julian


On Mar 28, 2013, at 6:24 AM, Luc Boudreau <lucboudreau at gmail.com<mailto:lucboudreau at gmail.com>> wrote:

I don't have any particular feelings towards slf4j. A few community members have asked for slf4j support in the past, typically in deeply embedded systems where log4j's weird buffering model causes problems with auditing / traceability. I don't think this would be a change for the sake of it. It does address a few issues.

As for release timelines, it could be done for the June point release (probably 3.7.0). We only have a few days left to prepare for 3.6.0 so the timing isn't exactly right.

As for support, the BA server at Pentaho already bundles slf4j so we wouldn't introduce any new dependencies in the ecosystem. I believe that it would be safe enough.

Luc


On Thu, Mar 28, 2013 at 12:43 AM, Julian Hyde <jhyde at pentaho.com<mailto:jhyde at pentaho.com>> wrote:
A pull request has been submitted to convert Mondrian to use SLF4J (from log4j).

Is this a good idea, or is it change for change's sake? I would like to hear the opinions of the community.

When would be the right timescale? Mondrian-3.6? Mondrian-4?

Julian

Begin forwarded message:

  https://github.com/pentaho/mondrian/pull/61


_______________________________________________
Mondrian mailing list
Mondrian at pentaho.org<mailto:Mondrian at pentaho.org>
http://lists.pentaho.org/mailman/listinfo/mondrian


_______________________________________________
Mondrian mailing list
Mondrian at pentaho.org<mailto:Mondrian at pentaho.org>
http://lists.pentaho.org/mailman/listinfo/mondrian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20130328/b2f643dd/attachment.html 


More information about the Mondrian mailing list