title: Apache Ignite - error 'JavaLoggerFileHandler' when running Spark shell
body: <p>I am starting spark-shell (of spark 2.2) and added bunch of jars in spark-shell command (from Ignite 2.1 directory).</p>
  
  <p>Still getting error:</p>
  
  <pre><code>Can't load log handler "org.apache.ignite.logger.java.JavaLoggerFileHandler"
  </code></pre>
  
  <p>Also followed recommendation from here:<br>
  <a href="https://apacheignite.readme.io/v1.2/docs/installation--deployment" rel="nofollow noreferrer">https://apacheignite.readme.io/v1.2/docs/installation--deployment</a></p>
  
  <pre><code># Optionally set IGNITE_HOME here.
  # IGNITE_HOME=/path/to/ignite
  
  IGNITE_LIBS="${IGNITE_HOME}/libs/*"
  
  for file in ${IGNITE_HOME}/libs/*
  do
      if [ -d ${file} ] &amp;&amp; [ "${file}" != "${IGNITE_HOME}"/libs/optional ]; then
          IGNITE_LIBS=${IGNITE_LIBS}:${file}/*
      fi
  done
  
  export SPARK_CLASSPATH=$IGNITE_LIBS
  </code></pre>
  
  <p>Also set logging to only ERROR as well but still getting error:</p>
  
  <pre><code>Can't load log handler "org.apache.ignite.logger.java.JavaLoggerFileHandler"
  java.lang.ClassNotFoundException: org.apache.ignite.logger.java.JavaLoggerFileHandler
  java.lang.ClassNotFoundException: org.apache.ignite.logger.java.JavaLoggerFileHandler
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      at java.util.logging.LogManager$5.run(LogManager.java:965)
      at java.security.AccessController.doPrivileged(Native Method)
  </code></pre>