diff --git a/predictor/common/inner_common.h b/predictor/common/inner_common.h index a10ce38ea039b734b62dcef5981d46293057f94d..9f9b3b2f3607578348dcca9253d6451f8fa205d6 100644 --- a/predictor/common/inner_common.h +++ b/predictor/common/inner_common.h @@ -32,24 +32,26 @@ #include "gflags/gflags.h" #ifdef BCLOUD -#include "bthread.h" #include "baidu/rpc/channel.h" #include "baidu/rpc/policy/giano_authenticator.h" #include "baidu/rpc/server.h" -#include "base/logging.h" #include "base/comlog_sink.h" +#include "base/logging.h" #include "base/object_pool.h" #include "base/time.h" +#include "bthread.h" // NOLINT #else -#include "bthread/bthread.h" #include "brpc/channel.h" #include "brpc/policy/giano_authenticator.h" #include "brpc/server.h" +#include "bthread/bthread.h" #include "butil/logging.h" #include "butil/object_pool.h" #include "butil/time.h" #endif +#include "glog/raw_logging.h" + #include "configure/include/configure_parser.h" #include "configure/server_configure.pb.h" diff --git a/predictor/framework/op_repository.h b/predictor/framework/op_repository.h index dca8f129c55fac39e24bb2c03a400d49d727c809..045912945232f9a36f40a941bc77041fa5ca08e2 100644 --- a/predictor/framework/op_repository.h +++ b/predictor/framework/op_repository.h @@ -62,7 +62,7 @@ class OpRepository { template void regist_op(std::string op_type) { _repository[op_type] = &OpFactory::instance(); - LOG(INFO) << "Succ regist op: " << op_type << "!"; + RAW_LOG_INFO("Succ regist op: %s", op_type.c_str()); } Op* get_op(std::string op_type);