Actually, that is probably the best way to handle the logging.   These tasks should be pretty low level and different pipelines will have different desired types of logging.   And so including all the information in the meta-data makes it easy to pull it out either for a log or for a later time.