/var/log/yandex-avia-price-index/*.log
/var/log/yandex-avia-price-index/sas/*.log
/var/log/yandex-avia-price-index/man/*.log
/var/log/yandex-avia-price-index/vla/*.log
/var/log/yandex-avia-price-index/myt/*.log
/var/log/yandex-avia-price-index/iva/*.log
/var/log/yandex-avia-price-index/common/*/*.log
/var/log/yandex-avia-price-index/avia_data/django_commands/management/commands/*.log {
    daily
    missingok
    rotate 7
    nocompress
    notifempty
    dateext
    dateformat -%Y%m%d-%s
}

/var/log/yandex-avia-price-index/yt/*.log
/var/log/yandex-avia-price-index/yt/*/*.log {
    daily
    missingok
    rotate 7
    nocompress
    notifempty
    dateext
    dateformat -%Y%m%d-%s
    sharedscripts
    postrotate
        ( supervisorctl restart push-client > /dev/null ) || exit 0
    endscript
}
