Minimal improved logging for python.