some changes in logger.