tidy up log part 2