This is an automated email from the ASF dual-hosted git repository.
zclll pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 6c8363ecc05 [fix](profile) reduce log verbosity by changing LOG_INFO
to VLOG_CRITICAL for profile operations (#61181)
6c8363ecc05 is described below
commit 6c8363ecc05b3a8fa97471aad254219ddd9bc7e5
Author: zclllyybb <[email protected]>
AuthorDate: Wed Mar 11 11:18:34 2026 +0800
[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.
---
be/src/runtime/runtime_query_statistics_mgr.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/be/src/runtime/runtime_query_statistics_mgr.cpp
b/be/src/runtime/runtime_query_statistics_mgr.cpp
index 3ad2e3c15af..0ac505c7f4b 100644
--- a/be/src/runtime/runtime_query_statistics_mgr.cpp
+++ b/be/src/runtime/runtime_query_statistics_mgr.cpp
@@ -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(
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]