Not logging when querying for sub-processes