Minor changes to logger