title: How to fix empty Docker LogPath
body: <p>I’m setting up a new Redis server via docker-compose and cannot find json docker log file.</p>
  
  <p>Redis log are <strong>/dev/stdout</strong> and visible via <strong>docker-compose logs</strong> command.</p>
  
  <p>Docker version 1.13.1, build 7f2769b/1.13.1</p>
  
  <p>docker-compose version 1.24.1, build 4667896</p>
  
  <p><strong>docker inspect --format='{{.LogPath}}' docker-compose-redis_redis_1</strong> shows nothing</p>
  
  <p>Snippet from docker-compose.yml:</p>
  
  <pre><code>    logging:
      #limit logs to 200MB (4rotations of 50M each)
        driver: "json-file"
        options:
          max-size: "50m"
          max-file: "4"
  </code></pre>
  
  <p>I expect to find json file in /var/lib/docker/containers/container-id/</p>