Change logger type