title: Akka SLF4J and logback in Scala
body: <p>I am trying to set up some basic logging for my akka actor system, but so far am only getting the standard logs and none of my added logs or an output file.  I have followed along with the <a href="http://doc.akka.io/docs/akka/2.3.14/scala/logging.html" rel="nofollow noreferrer">akka docs for logging</a> and have set up the following:  </p>
  
  <ul>
  <li><p>I added these dependencies to the build.sbt file</p>
  
  <pre><code>"com.typesafe.akka" %% "akka-slf4j" % "2.3.14"
  "ch.qos.logback" % "logback-classic" % "1.0.9"
  </code></pre></li>
  <li><p>I added this to the application.conf file  </p>
  
  <pre><code>akka {
      loggers = ["akka.event.slf4j.Slf4jLogger"]
      loglevel = "DEBUG"
  }  
  </code></pre></li>
  <li><p>logback.xml is in src/main/resources </p>
  
  <pre><code>&lt;configuration&gt;
      &lt;appender name="FILE" class="ch.qos.logback.core.FileAppender"&gt;
          &lt;File&gt;./logs/akka.log&lt;/File&gt;
          &lt;encoder&gt;
              &lt;pattern&gt;%d{HH:mm:ss.SSS} [%-5level] %msg%n&lt;/pattern&gt;
          &lt;/encoder&gt;
      &lt;/appender&gt;
      &lt;root level="info"&gt;
          &lt;appender-ref ref="FILE" /&gt;
      &lt;/root&gt;
  &lt;/configuration&gt;
  </code></pre></li>
  <li><p>This is what I'm hopping is supposed to do the logging</p>
  
  <pre><code>import akka.event.Logging
  
  val log = Logging(context.system, classOf[TickActor])
  log.info("Good Luck!")
  </code></pre></li>
  </ul>
  
  <p>I do not receive and messages of the failure from the standard logging, and I haven't been able to find additional solutions much different from what I already have.  I have tried the suggestions in <a href="https://stackoverflow.com/questions/14149798/akka-slf4j-logback-configuration-and-usage">this question</a>.  It seemed to be the same issue I'm having, but the suggestions did not work.  Have I missed a step or configured something wrong?</p>