Change logger def