some changes in logger