[Mondrian] org.apache.log4j.MDC.getContext()

Julian Hyde jhyde at pentaho.com
Tue Jun 19 15:45:56 EDT 2012


Seems reasonable -- but I don't know how easy this would be to implement.

Can you please log a jira case, and post the URL to this list. Then we can discuss there.

Julian


On Jun 19, 2012, at 11:42 AM, Christoffer Sawicki wrote:

Hello!

mondrian.server.Execution.copyMDC(Execution.java:113) ~[mondrian-3.4.4.jar:na]

uses

org.apache.log4j.MDC.getContext()Ljava/util/Hashtable

which is not part of the public log4j API.

Code comment:


  /**
   * Get the current thread's MDC as a hashtable. This method is
   * intended to be used internally.
   * */

This breaks compatibility with log4j-over-slf4j. It would be great if it could be implemented another way.

Regards,
Christoffer Sawicki
_______________________________________________
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/20120619/fe9a8790/attachment.html 


More information about the Mondrian mailing list