Cleanup of Log.py