Logger line_position bugfix