Add logging to concurrent tasks