4 Sep
2020
4 Sep
'20
9:36 a.m.
Hi Danil,
Firstly, thank you so much for your reply, and I do apologize for taking so long to respond to your message.
I understand your approach, and it sounds reliable and sensible. I'm still a bit confused by something though. In your example, you create the file /etc/logrotate.d/mailman - I presume that it must live in, or be available in the container - but which one? You've created a single file, with entries for both the mailman-core and mailman-web logs. But the logs of -core are not available in -web and vice-versa. Did you mean to do separate "cat <<EOF > /etc/logrotate.d/mailman" operations for each container?
Thanks again Stephen