changed log rotation behaviour