Change logger declaration