title: No log4j2 configuration file found. Using default configuration: logging only errors to the console
body: <pre><code>$ java -Dlog4j.configuration=file:///path/to/your/log4j2.xml -jar /path/to/your/jar_file.jar
  </code></pre>
  
  <p>Written to the console, you get</p>
  
  <pre><code>ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
  </code></pre>
  
  <p>But, it also looks like the configuration file has been found and was not parsable:</p>
  
  <pre><code>    log4j:WARN Continuable parsing error 2 and column 31
      log4j:WARN Document root element "Configuration", must match DOCTYPE root "null".
      log4j:WARN Continuable parsing error 2 and column 31
      log4j:WARN Document is invalid: no grammar found.
      log4j:ERROR DOM element is - not a &lt;log4j:configuration&gt; element.
      log4j:WARN No appenders could be found for logger (kafka.utils.VerifiableProperties).
      log4j:WARN Please initialize the log4j system properly.
      log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
  </code></pre>