small changes in logger