title: Dropwizard application not using log config from configuration.yml
body: <p>I am trying to get DropWizard to log to an output file. The file is being created but nothing written to it.</p>
  
  <p>In fact it would appear that the configuration in the provided .yml file is not being used.</p>
  
  <p>I am also getting the following warnings during startup, not sure if they are related:</p>
  
  <pre><code>SLF4J: Class path contains multiple SLF4J bindings.
  SLF4J: Found binding in [jar:file:/Users/conor/.m2/repository/ch/qos/logback/logback-classic/1.1.3/logback-classic-1.1.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  SLF4J: Found binding in [jar:file:/Users/conor/.m2/repository/com/conor/project/project-common/0.1-SNAPSHOT/project-common-0.1-SNAPSHOT.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
  </code></pre>
  
  <p>How can I get dropwizard to pickup the logging config in the yml provided at startup and how can I figure out where the current config is coming from? Thanks.</p>
  
  <p>UPDATE::</p>
  
  <p>I am running DropWizard <code>v0.9.1</code> and my logging configuration is as follows:</p>
  
  <pre><code># Logging settings.
  logging:
  
    # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
    level: TRACE
  
    # Logger-specific levels.
    loggers:
  
  #     Sets the level for 'com.example.app' to DEBUG.
      io.dropwizard: INFO
  
  #     Redirects SQL logs to a separate file
      org.hibernate.SQL:
        level: DEBUG
  
  # Logback's Time Based Rolling Policy - archivedLogFilenamePattern: /tmp/application-%d{yyyy-MM-dd}.log.gz
  # Logback's Size and Time Based Rolling Policy -  archivedLogFilenamePattern: /tmp/application-%d{yyyy-MM-dd}-%i.log.gz
  # Logback's Fixed Window Rolling Policy -  archivedLogFilenamePattern: /tmp/application-%i.log.gz
  
    appenders:
      - type: console
      - type: file
        threshold: DEBUG
        logFormat: "%-6level [%d{HH:mm:ss.SSS}] [%t] %logger{5} - %X{code} %msg %n"
        currentLogFilename: output/logs/dropwizard.txt
        archivedLogFilenamePattern: output/logs/dropwizard-%d{yyyy-MM-dd}-%i.txt.gz
        archivedFileCount: 10
        timeZone: UTC
        maxFileSize: 10MB
  </code></pre>