More debugging improvements for our python logging bridge