mirror of
https://github.com/apache/doris.git
synced 2026-11-04 07:31:17 +00:00
[fix](profile) reduce log verbosity by changing LOG_INFO to VLOG_CRITICAL for profile operations (#61181)
Replace LOG_INFO with VLOG_CRITICAL for profile send and registration success messages to reduce log noise in production environments. Profile is not a critical part of SQL execution, so it can be adjusted like this. It's not too late to open the verbose log if any issues are found.
This commit is contained in:
1 parent
06b5d4bb20
commit
6c8363ecc0
1 file changed
+3
-3
@@ -161,7 +161,7 @@ static void _report_query_profiles_function(
|
||||
LOG_WARNING("Query {} send profile to {} failed", print_id(query_id),
|
||||
PrintThriftNetworkAddress(coor_addr));
|
||||
} else {
|
||||
LOG_INFO("Send {} profile succeed", print_id(query_id));
|
||||
VLOG_CRITICAL << fmt::format("Send {} profile succeed", print_id(query_id));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -318,8 +318,8 @@ void RuntimeQueryStatisticsMgr::register_fragment_profile(
|
||||
_load_channel_profile_map[std::make_pair(query_id, fragment_id)] = load_channel_profile;
|
||||
}
|
||||
|
||||
LOG_INFO("register x profile done {}, fragment {}, profiles {}", print_id(query_id),
|
||||
fragment_id, p_profiles.size());
|
||||
VLOG_CRITICAL << fmt::format("register x profile done {}, fragment {}, profiles {}",
|
||||
print_id(query_id), fragment_id, p_profiles.size());
|
||||
}
|
||||
|
||||
void RuntimeQueryStatisticsMgr::register_resource_context(
|
||||
|
||||
Reference in new issue
Block a user