title: docker-compose syslog driver to loggly not working
body: <p>I'm trying to implement centralised logging for a number of micro-service docker containers.</p>
  
  <p>To achieve this I'm attempting to use the recommended syslog logging driver approach, to deliver logs to loggly.</p>
  
  <p><a href="https://www.loggly.com/docs/docker-logging-driver/" rel="nofollow noreferrer">https://www.loggly.com/docs/docker-logging-driver/</a></p>
  
  <p>I've done the following...</p>
  
  <p>On the remote docker-machine...</p>
  
  <pre><code>$ curl -O https://www.loggly.com/install/configure-linux.sh
  $ sudo bash configure-linux.sh -a SUBDOMAIN -u USERNAME
  </code></pre>
  
  <p>It verified that everything worked correctly, and I can see that the host events are now going through to the loggly console.</p>
  
  <p>I then configured the services in docker-compose, like so...</p>
  
  <pre><code>  nginx_proxy:
      build: nginx_proxy
      logging:
        driver: "syslog"
        options:
          tag: "{{.ImageName}}/{{.Name}}/{{.ID}}"
  </code></pre>
  
  <p>I then rebuilt and re-launched the containers, with...</p>
  
  <pre><code>$ docker-compose up --build -d
  </code></pre>
  
  <p>However I'm not getting any logs from the containers going to loggly.</p>
  
  <p>I can verify that the syslog driver update has taken effect by doing...</p>
  
  <pre><code>$ docker-compose logs nginx_proxy
  </code></pre>
  
  <p>This reports...</p>
  
  <pre><code>nginx_proxy_1             | WARNING: no logs are available with the 'syslog' log driver
  </code></pre>
  
  <p>Which is what I would expect to see, as this log driver doesn't work for viewing logs locally.</p>
  
  <p>Is there something else I need to do to get this working correctly?</p>