logging for tool