# Managed by Ansible (role traefik). The access log grew to 3 GB with no rotation and filled the disk. # copytruncate: no signal to Traefik is needed (a failed reopen would keep writing into the # rotated file and free nothing); a few lines written during the copy can be lost. {{ traefik_config_dir }}/logs/*.log { {{ traefik_log_rotate_frequency }} rotate {{ traefik_log_rotate_count }} maxsize {{ traefik_log_rotate_max_size }} missingok notifempty compress delaycompress copytruncate su {{ traefik_user }} {{ traefik_user }} }