Adding logging for individual task