add log rotate for linux