title: Stackdriver Logback appender stops application
body: <p>I have a problem using <strong>google-cloud-logging-logback</strong> library to write logs to Stackdriver. When I add appender to logback configuration then application does not start and just stops with logs below:</p>
  
  <pre><code>09:34:37,755 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Setting ReconfigureOnChangeTask scanning period to 10 seconds
  09:34:37,769 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
  09:34:37,769 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [console]
  09:34:37,772 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
  09:34:37,774 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [com.google.cloud.logging.logback.LoggingAppender]
  09:34:37,785 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [cloud]
  09:34:38,027 |-WARN in Logger[org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator] - No appenders present in context [default] for logger [org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator].
  </code></pre>
  
  <p>As you can see, there are no errors, the application just stops when trying to initialize google appender.
  This is my appender configuration:</p>
  
  <pre><code>&lt;appender name="cloud" class="com.google.cloud.logging.logback.LoggingAppender"&gt;
      &lt;!-- Optional : filter logs at or above a level --&gt;
      &lt;filter class="ch.qos.logback.classic.filter.ThresholdFilter"&gt;
          &lt;level&gt;DEBUG&lt;/level&gt;
      &lt;/filter&gt;
      &lt;resourceType&gt;global&lt;/resourceType&gt; &lt;!-- Optional : default: auto-detected, fallback: global --&gt;
      &lt;flushLevel&gt;INFO&lt;/flushLevel&gt; &lt;!-- Optional : default ERROR --&gt;
  &lt;/appender&gt;
  </code></pre>
  
  <p>And here are my logback dependencies:</p>
  
  <pre><code>compile 'ch.qos.logback:logback-core:1.2.3'
  compile 'ch.qos.logback:logback-access:1.2.3'
  compile 'ch.qos.logback:logback-classic:1.2.3'
  compile 'com.google.cloud:google-cloud-logging-logback:0.116.0-alpha'
  </code></pre>
  
  <p>Can you help me find what is wrong with this or how to show an error that makes application stop?</p>