From 1ab8088a0987a839209005675f6201007b020cbd Mon Sep 17 00:00:00 2001 From: Preston Parry Date: Tue, 11 Apr 2017 17:38:29 -0700 Subject: [PATCH] Removes extraneous log (#2186) This log appears to fire every time I ask the python package to make a prediction. It's the only log that fires from XGBoost. When we're getting predictions on millions of items a day in production, this log seems out of place. --- src/c_api/c_api.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/c_api/c_api.cc b/src/c_api/c_api.cc index c1474dbdb..5f9c3b07e 100644 --- a/src/c_api/c_api.cc +++ b/src/c_api/c_api.cc @@ -261,7 +261,6 @@ XGB_DLL int XGDMatrixCreateFromCSREx(const size_t* indptr, mat.info.num_col = num_col; } mat.info.num_row = nindptr - 1; - LOG(INFO) << "num_row=" << mat.info.num_row; mat.info.num_nonzero = mat.row_data_.size(); *out = new std::shared_ptr(DMatrix::Create(std::move(source))); API_END();