Change logger in dev b prod mode