More python logging work.