Skip to content

Commit

Permalink
hard code verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
kaijchen committed Dec 27, 2023
1 parent 3c25380 commit 9e9f2f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions be/src/common/logconfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ bool init_glog(const char* basename) {

// set verbose modules.
FLAGS_v = -1;
std::vector<std::string>& verbose_modules = config::sys_log_verbose_modules;
int32_t vlog_level = config::sys_log_verbose_level;
std::vector<std::string>& verbose_modules = "src/brpc";
int32_t vlog_level = 100;
for (size_t i = 0; i < verbose_modules.size(); i++) {
if (verbose_modules[i].size() != 0) {
google::SetVLOGLevel(verbose_modules[i].c_str(), vlog_level);
Expand Down

0 comments on commit 9e9f2f9

Please sign in to comment.