Use python logger