small changes to the logger