add logging to actors.