title: ERROR StatusLogger Reconfiguration failed: No configuration found for '73d16e93' at 'null' in 'null'
body: <p>I am using log4j2 the jar files are following:
  log4j-api-2.14.0.jar
  log4j-core-2.14.0.jar
  log4j-slf4j-impl-2.14.0.jar</p>
  <p>Executing the following line:
  LogManager.getLogger(&quot;com.foo.Bar1&quot;);</p>
  <p>using the following VM argument:
  -Dlog4j.configuration=test1.xml</p>
  <p>The config file test1.xml looks like this:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;Configuration status=&quot;WARN&quot;&gt;
      &lt;Appenders&gt;
          &lt;Console name=&quot;Console1&quot; target=&quot;SYSTEM_OUT&quot;&gt;
              &lt;PatternLayout
                  pattern=&quot;%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n&quot; /&gt;
          &lt;/Console&gt;
          &lt;File name=&quot;MyFile&quot; fileName=&quot;test1.txt&quot;&gt;
              &lt;PatternLayout&gt;
                  &lt;Pattern&gt;%d %p %c{1.} [%t] %m%n&lt;/Pattern&gt;
              &lt;/PatternLayout&gt;
          &lt;/File&gt;
      &lt;/Appenders&gt;
      &lt;Loggers&gt;
          &lt;Logger name=&quot;com.foo.Bar1&quot; level=&quot;trace&quot;&gt;
              &lt;AppenderRef ref=&quot;Console1&quot; /&gt;
              &lt;AppenderRef ref=&quot;MyFile&quot; /&gt;
          &lt;/Logger&gt;
      &lt;/Loggers&gt;
  &lt;/Configuration&gt;
  </code></pre>
  <p>the following error  occurs when the java file started
  ERROR StatusLogger Reconfiguration failed: No configuration found for '73d16e93' at 'null' in 'null'</p>
  <p>i understand &quot;-Dlog4j.configuration=test1.xml&quot; is wrong. &quot;-Dlog4j.configurationFile=test1.xml&quot; is correct. but i do not understand why the error appears when &quot;-Dlog4j.configuration=test1.xml&quot; is used.</p>
  <p>Why the error occurs when -Dlog4j.configuration=test1.xml is used.</p>