title: Akka SLF4J logback configuration and usage
body: <p>I have done the following steps to try and configure logging for my akka application:</p>
  
  <ul>
  <li><p>created an application.conf file and placed it in src/main/resources. It looks like:   </p>
  
  <p><pre><code>
      akka { 
        event-handlers = ["akka.event.slf4j.Slf4jEventHandler"] 
        loglevel = "INFO"
      }
  </pre></code></p></li>
  <li><p>created a logback.xml file and placed it in src/main/resources. It looks like:</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>added the following to my .scala sbt build file:</p>
  
  <p><pre><code><br>
      libraryDependencies += "com.typesafe.akka" % "akka-slf4j" % "2.0.3", 
      libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.0.9"
      lazy val logback = "ch.qos.logback" % "logback-classic" % "1.0.9"
     </pre></code>  </p></li>
  <li><p>attempted this code to log:</p>
  
  <p><pre><code>
      import akka.event.Logging<br>
      val log = Logging(context.system, this)
      log.info("...")
    </pre></code></p></li>
  </ul>
  
  <p>All I am getting is standard output logging, no log file creation with the logs. <br/></p>
  
  <p>Have I missed a step ? Or misconfigured something?</p>