Change logger callback