Add logging of activity