Quick fix for nested task logging.