truncate log after max events are logged