title: How to enable logging on influxdb to a file in docker
body: <p>I have influxdb running using docker and currently logs can be seen only by docker logs command but I want the logs in /var/log/file.log how can I achieve it. </p>
  
  <p>I tried adding </p>
  
  <pre><code>RUN ln -sf /dev/stdout /var/log/influx.log \
      &amp;&amp; ln -sf /dev/stderr /var/log/error.log
  </code></pre>
  
  <p>in the docker file but it seems not woking.</p>