Nasty logging bug removed