I'm trying to set up traefik with docker-compose.
But, traefik doesn't output logfile.
Why?
My docker-compose.yml is here
traefik:
image: traefik:latest
restart: unless-stopped
command:
- "--log.level=DEBUG"
- "--accesslog=/var/log/access.log"
- "--log=/var/log/traefik.log"
- "--api.insecure=true"
- "--providers.docker=true"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "./traefik_log:/var/log"
./traefik_log/
directory is empty...
How to output logfile with docker-compose?
I need traefik logfile for investigate my traefik problems.
Thanks.