update logger type