# copytruncate: OpenRC's output_log keeps the log open until the exporter # restarts, so a renamed log would go on receiving its output. /var/log/mysqld_exporter/*.log { missingok notifempty size 30k copytruncate }