Solved
Forum Discussion
I'd probably take the approach where the "root" pipeline (parent_pipeline_A) would pass it's label into the child, then the child would pass that in to the pipelineWithLogging. The Pipeline Execute snap can set a child pipeline's parameters and that would be a way to achieve this.
There are other options, but this seems like a pretty straightforward approach.