aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authort1mursadykov <t1mursadykov@ydb.tech>2023-03-31 11:03:23 +0300
committert1mursadykov <t1mursadykov@ydb.tech>2023-03-31 11:03:23 +0300
commitb8b0c96f551f903191a64c9ce66286bedeaa37ed (patch)
tree6404c7163404aabe7b0ec5a4123156394d674cd8
parent29a92a8dd74b57239f931a62cbaf72d462746246 (diff)
downloadydb-b8b0c96f551f903191a64c9ce66286bedeaa37ed.tar.gz
Move unnecessary logs to TRACE
-rw-r--r--ydb/core/cms/cluster_info.cpp8
-rw-r--r--ydb/core/cms/info_collector.cpp18
2 files changed, 13 insertions, 13 deletions
diff --git a/ydb/core/cms/cluster_info.cpp b/ydb/core/cms/cluster_info.cpp
index 236af9107d..60d8e72d1c 100644
--- a/ydb/core/cms/cluster_info.cpp
+++ b/ydb/core/cms/cluster_info.cpp
@@ -947,7 +947,7 @@ void TClusterInfo::DebugDump(const TActorContext &ctx) const
ss << " VDisk: " << vd.ToString() << Endl;
node.DebugLocksDump(ss, " ");
ss << "}" << Endl;
- LOG_DEBUG(ctx, NKikimrServices::CMS, ss.Str());
+ LOG_TRACE(ctx, NKikimrServices::CMS, ss.Str());
}
for (auto &entry: PDisks) {
TStringStream ss;
@@ -958,7 +958,7 @@ void TClusterInfo::DebugDump(const TActorContext &ctx) const
<< " State: " << EState_Name(pdisk.State) << Endl;
pdisk.DebugLocksDump(ss, " ");
ss << "}" << Endl;
- LOG_DEBUG(ctx, NKikimrServices::CMS, ss.Str());
+ LOG_TRACE(ctx, NKikimrServices::CMS, ss.Str());
}
for (auto &entry: VDisks) {
TStringStream ss;
@@ -972,7 +972,7 @@ void TClusterInfo::DebugDump(const TActorContext &ctx) const
ss << " BSGroup: " << id << Endl;
vdisk.DebugLocksDump(ss, " ");
ss << "}" << Endl;
- LOG_DEBUG(ctx, NKikimrServices::CMS, ss.Str());
+ LOG_TRACE(ctx, NKikimrServices::CMS, ss.Str());
}
for (auto &entry: BSGroups) {
TStringStream ss;
@@ -986,7 +986,7 @@ void TClusterInfo::DebugDump(const TActorContext &ctx) const
for (auto &vd : group.VDisks)
ss << " VDisk: " << vd.ToString() << Endl;
ss << "}" << Endl;
- LOG_DEBUG(ctx, NKikimrServices::CMS, ss.Str());
+ LOG_TRACE(ctx, NKikimrServices::CMS, ss.Str());
}
}
diff --git a/ydb/core/cms/info_collector.cpp b/ydb/core/cms/info_collector.cpp
index 221a6a333d..d3958063b8 100644
--- a/ydb/core/cms/info_collector.cpp
+++ b/ydb/core/cms/info_collector.cpp
@@ -222,7 +222,7 @@ void TInfoCollector::Handle(TEvConfigsDispatcher::TEvGetConfigResponse::TPtr &ev
LOG_I("Couldn't collect bootstrap config from Console. Taking the local config");
bootstrap.CopyFrom(AppData()->BootstrapConfig);
} else {
- LOG_D("Got Bootstrap config"
+ LOG_T("Got Bootstrap config"
<< ": record# " << config->ShortDebugString());
if (!::google::protobuf::util::MessageDifferencer::Equals(AppData()->BootstrapConfig, config->GetBootstrapConfig())) {
@@ -278,7 +278,7 @@ void TInfoCollector::RequestBaseConfig() {
void TInfoCollector::Handle(TEvBlobStorage::TEvControllerConfigResponse::TPtr& ev) {
const auto& record = ev->Get()->Record.GetResponse();
- LOG_D("Got base config"
+ LOG_T("Got base config"
<< ": record# " << record.ShortDebugString());
if (!record.GetSuccess() || !record.StatusSize() || !record.GetStatus(0).GetSuccess()) {
@@ -378,7 +378,7 @@ void TInfoCollector::Handle(TEvWhiteboard::TEvSystemStateResponse::TPtr& ev) {
const ui32 nodeId = ev->Sender.NodeId();
const auto& record = ev->Get()->Record;
- LOG_D("Got system state"
+ LOG_T("Got system state"
<< ": nodeId# " << nodeId
<< ", record# " << record.DebugString());
@@ -401,7 +401,7 @@ void TInfoCollector::Handle(TEvWhiteboard::TEvTabletStateResponse::TPtr& ev) {
const ui32 nodeId = ev->Sender.NodeId();
const auto& record = ev->Get()->Record;
- LOG_D("Got tablet state"
+ LOG_T("Got tablet state"
<< ": nodeId# " << nodeId
<< ", record# " << record.DebugString());
@@ -420,7 +420,7 @@ void TInfoCollector::Handle(TEvWhiteboard::TEvPDiskStateResponse::TPtr& ev) {
const ui32 nodeId = ev->Sender.NodeId();
auto& record = ev->Get()->Record;
- LOG_D("Got PDisk state"
+ LOG_T("Got PDisk state"
<< ": nodeId# " << nodeId
<< ", record# " << record.DebugString());
@@ -441,7 +441,7 @@ void TInfoCollector::Handle(TEvWhiteboard::TEvVDiskStateResponse::TPtr& ev) {
const ui32 nodeId = ev->Sender.NodeId();
auto& record = ev->Get()->Record;
- LOG_D("Got VDisk state"
+ LOG_T("Got VDisk state"
<< ": nodeId# " << nodeId
<< ", record# " << record.DebugString());
@@ -462,7 +462,7 @@ void TInfoCollector::Handle(TEvTenantPool::TEvTenantPoolStatus::TPtr& ev) {
const ui32 nodeId = ev->Sender.NodeId();
const auto& record = ev->Get()->Record;
- LOG_D("Got TenantPoolStatus"
+ LOG_T("Got TenantPoolStatus"
<< ": nodeId# " << nodeId
<< ", record# " << record.DebugString());
@@ -478,7 +478,7 @@ void TInfoCollector::Handle(TEvents::TEvUndelivered::TPtr& ev) {
const auto& msg = *ev->Get();
const ui32 nodeId = ev->Cookie;
- LOG_D("Undelivered"
+ LOG_T("Undelivered"
<< ": nodeId# " << nodeId
<< ", source# " << msg.SourceType
<< ", reason# " << msg.Reason);
@@ -502,7 +502,7 @@ void TInfoCollector::Handle(TEvents::TEvUndelivered::TPtr& ev) {
void TInfoCollector::Handle(TEvInterconnect::TEvNodeDisconnected::TPtr& ev) {
const ui32 nodeId = ev->Get()->NodeId;
- LOG_D("Disconnected"
+ LOG_T("Disconnected"
<< ": nodeId# " << nodeId);
if (!NodeEvents.contains(nodeId)) {