mulesoft/mule — pull request #901 by marianogonzalez (2014-08-13 05:39:59+00:00)
Title: MULE-7769: Fixing bug about static loggers logging into the wrong contex...

...t

Suppose that class X is used in applications Y and Z. If X holds a static reference to a logger L, then all the log events are going to be added into the context {@link org.apache.logging.log4j.core.LoggerContext} on which L fast first initialized, regardless of which application generated the event.

This fix makes sure that static loggers get the correct context before they write so that messages are not mixed up