Added Python logging API