PythonAPI - get task log of current worker