Dear Home Assistant team,
Please consider the feature discussed in this thread. I would expect that implementing verbose configuration of log rotation would be a challenge, hence it’s better to offload that function to some external utility, however that requires there is a way for that utility to communicate back the event that logs are rotated.
Hence please provide a possibility to rotate logs via some API/event/signal to integrate log rotation with some external service e.g. logrotate. On arrival of such event/signal the logfile should be closed and new one should be created.