title: Log4j2 throws NoSuchMethodError
body: <p>I upgraded from log4j2 <code>2.0-beta9</code> to <code>2.0</code>, both <code>log4j-core</code> and <code>log4j-api</code>.</p>
  
  <p>My application used to run fine before, now I'm getting the following error:</p>
  
  <pre><code>Caused by: java.lang.NoSuchMethodError: org.apache.logging.log4j.core.Logger.log(Lorg/apache/logging/log4j/Marker;Ljava/lang/String;Lorg/apache/logging/log4j/Level;Lorg/apache/logging/log4j/message/Message;Ljava/lang/Throwable;)V
      at org.apache.log4j.Category.forcedLog(Category.java:336)
      at org.apache.log4j.Category.log(Category.java:423)
      at com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.log(Log4jMLog.java:171)
      at com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.log(Log4jMLog.java:183)
      at com.mchange.v2.cfg.MConfig.dumpToLogger(MConfig.java:101)
      at com.mchange.v2.cfg.MConfig.dumpToLogger(MConfig.java:98)
      at com.mchange.v2.cfg.MConfig$CSManager.recreateFromKey(MConfig.java:154)
      at com.mchange.v1.cachedstore.NoCleanupCachedStore.find(NoCleanupCachedStore.java:63)
  </code></pre>
  
  <p>What might be wrong here? Why is log4j failing?</p>
  
  <p>Maybe I have to redirect the logging from c3p0? How would the following statement have to be written in log4j2?</p>
  
  <pre><code>com.mchange.v2.log.MLog=com.mchange.v2.log.log4j.Log4jMLog
  </code></pre>
  
  <p>I discovered that the following statement will prevent c3p0 logging and thus is my current workaround:</p>
  
  <pre><code>System.setProperty("com.mchange.v2.log.MLog", "com.mchange.v2.log.FallbackMLog");
  </code></pre>
  
  <p>But I'd like to have the logging redirected to log4j2, so still looking for a solution.</p>