title: Akka timeouts starting event handlers
body: <p>When I run my app using akka, it fails with the following exception:</p>
  
  <pre><code>Event Handler specified in config can't be loaded [com.despegar.hasp.impl.DummyLogEventHandler] due to [a06c8d75-0f07-40db-883a-16dc2914934bakka.event.Logging$LoggerInitializationException: Logger log1-DummyLogEventHandler did not respond with LoggerInitialized, sent instead [TIMEOUT]
  </code></pre>
  
  <p>DummyLogEventHandler is defined as:</p>
  
  <pre><code>class DummyLogEventHandler extends Actor {
     def receive = {
       case InitializeLogger(_) =&gt; sender ! LoggerInitialized
       case Error(cause, logSource, logClass, message) =&gt;
       case Warning(logSource, logClass, message) =&gt;
       case Info(logSource, logClass, message) =&gt;
       case Debug(logSource, logClass, message) =&gt;
     }
  </code></pre>
  
  <p>}</p>
  
  <p>My configuration has the following lines:</p>
  
  <pre><code>event-handlers = ["my.app.DummyLogEventHandler"]
  event-handler-startup-timeout = 15s
  </code></pre>
  
  <p>But I've also tried with the default logger:</p>
  
  <pre><code>event-handlers = []
  </code></pre>
  
  <p>and with slf4j (my app is using the logback backend and logging works ok):</p>
  
  <pre><code>event-handlers = ["akka.event.slf4j.Slf4jEventHandler"]
  </code></pre>
  
  <p>Neither of those event-handlers nor incrementing the timeout to 60 seconds have worked so far. Moreover, the timeout is thrown sporadically. When I ran a test suite, the exception is thrown in different tests every time.</p>
  
  <p>Can you help me find a solution?</p>
  
  <p>Thanks,
  Alex.</p>