Docker rotate logs?

Is there a way to change the hass instance in the docker container to have log rotate? similar to the “–log-rotate-days” option?

I tried log rotate in the base OS but its not able to truncate the file ?

I’ve been looking for how to do this too.
Does anyone know if there is an environmental option for the container to set the log-rotate days?

1 Like

Any luck? been looking for this myself as well

1 Like

Nope I asked on discord also not a single reply unfortunately.