diff --git a/demo-serving/op/ctr_prediction_op.cpp b/demo-serving/op/ctr_prediction_op.cpp index 4311148ef204d9027a02237a2b9efbf7593d6726..8e0e6fc0ec1f82262a4dedc2dd0ccc3c2331b6d4 100644 --- a/demo-serving/op/ctr_prediction_op.cpp +++ b/demo-serving/op/ctr_prediction_op.cpp @@ -109,7 +109,7 @@ int CTRPredictionOp::inference() { if (kvinfo != NULL) { std::string table_name; if (kvinfo->sparse_param_service_type != configure::EngineDesc::NONE) { - std::string table_name = kvinfo->sparse_param_service_table_name; + table_name = kvinfo->sparse_param_service_table_name; } if (kvinfo->sparse_param_service_type == configure::EngineDesc::LOCAL) { diff --git a/predictor/framework/kv_manager.h b/predictor/framework/kv_manager.h index 35031f96d3c1c7f19f11aa70d5230ebae290feb3..c1ca8409df624379107a9ba6ed0a26f7e6f0df30 100644 --- a/predictor/framework/kv_manager.h +++ b/predictor/framework/kv_manager.h @@ -66,6 +66,9 @@ class KVManager { LOG(ERROR) << "Failed insert item: " << engine_name; return -1; } + + LOG(WARNING) << engine_name << ": " + << kvinfo->sparse_param_service_table_name; LOG(WARNING) << "Succ proc initialize kvmanager for engine: " << engine_name; }