Change logger type and override getLogger method