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.
I tried adding
RUN ln -sf /dev/stdout /var/log/influx.log \
&& ln -sf /dev/stderr /var/log/error.log
in the docker file but it seems not working.