Make compatible with logrotate