Fixing log truncation with too few logs