minor changes to logger