Added logging to tool sessison