First encounter with ChatGPT
asking ChatGTP to write a logrotate config targeting a process inside a docker container
The Problem
my traefik log is getting out of hand with 8GB on a 40GB instance
I need to log rotate it.
checking the traefik log section, I need a USR1 signal to close and reopen the log file.
https://doc.traefik.io/traefik/observability/access-logs/#log-rotation
Asking the ChatGPT

Problem 2
my traefik is running inside a docker container in a docker swarm
I will ask it to send a USR1 signal inside the container
getting the service

adding in the command

putting the command into logrotate

Perfect
