Updated tool logger to log