make logger working