Change fmt.Printf to logger