Adding logging to work completion.