title: trouble configuring RabbitMq logback appender
body: <p>My project demands to send the logs at centralized location(Graylog) server.
  So i thought of using "AMQP Appender" in logback.xml to send the logs to RabbitMq and then will configure the Graylog server to fetch the logs from RabbitMq.</p>
  
  <p>this is how my logback.xml looks like.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
  
      &lt;appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"&gt;
          &lt;encoder&gt;
              &lt;pattern&gt;
                  {
                  "time": "%date{ISO8601}",
                  "thread": "%thread",
                  "level": "%level",
                  "class": "%logger{36}",
                  "message": "%message"
                  }
              &lt;/pattern&gt;      &lt;/encoder&gt;
      &lt;/appender&gt;
  
    &lt;appender name="RabbitMq" class="org.springframework.amqp.rabbit.logback.AmqpAppender"&gt;
          &lt;layout&gt;
              &lt;pattern&gt;
                  {
                  "time": "%date{ISO8601}",
                  "thread": "%thread",
                  "level": "%level",
                  "class": "%logger{36}",
                  "message": "%message"
                  }
              &lt;/pattern&gt;  
          &lt;/layout&gt;
          &lt;host&gt;localhost:8080&lt;/host&gt;
          &lt;port&gt;5672&lt;/port&gt;
          &lt;username&gt;guest&lt;/username&gt;
          &lt;password&gt;guest&lt;/password&gt;
          &lt;exchangeType&gt;direct&lt;/exchangeType&gt;
          &lt;exchangeName&gt;amq.direct&lt;/exchangeName&gt;
          &lt;applicationId&gt;RabbitMq-IT-SE&lt;/applicationId&gt;
       &lt;routingKeyPattern&gt;%property{applicationId}.%c.%p&lt;/routingKeyPattern&gt;
          &lt;generateId&gt;true&lt;/generateId&gt;
          &lt;charset&gt;UTF-8&lt;/charset&gt;
          &lt;durable&gt;true&lt;/durable&gt;
          &lt;abbreviation&gt;36&lt;/abbreviation&gt;
          &lt;deliveryMode&gt;NON_PERSISTENT&lt;/deliveryMode&gt;
          &lt;declareExchange&gt;true&lt;/declareExchange&gt;
  
      &lt;/appender&gt; 
  
  
  
      &lt;logger name="org.springframework.amqp.rabbit.logback" level="INFO" additivity="true"&gt;
          &lt;appender-ref ref="RabbitMq"/&gt;
      &lt;/logger&gt;
  
      &lt;root level="INFO"&gt;
          &lt;appender-ref ref="CONSOLE"/&gt;
          &lt;appender-ref ref="RabbitMq"/&gt;
      &lt;/root&gt;
  
  &lt;/configuration&gt;
  </code></pre>
  
  <p>i can see the logs in console and i am expecting them on RabbitMq Server as well.
  But somehow i am not able to find the logs on RabbitMq Server.
  I can see the connection established in "Overview" tab but i do not know in which queue i have to look for messages.
  Am i missing something ?</p>
  
  <p>If i miss to provide some details then please let me know, i will update the post asap.</p>
  
  <p>Thanks.</p>