logrotate

now it can logrotate