Extended logging functionality for tasks