Tidying up logs