add optional stream size logging for tasks