aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorinnokentii <innokentii@yandex-team.com>2023-03-03 14:47:17 +0300
committerinnokentii <innokentii@yandex-team.com>2023-03-03 14:47:17 +0300
commitafdafb4f7cc6e453cae5bd8ef900c59eff001f40 (patch)
treeccc48ba6fbda8723ba17b1c7f61b68ec97440e4b
parentf1ffc3be33cb3b04615fdb9a2c8f4f8aec4f5ac6 (diff)
downloadydb-afdafb4f7cc6e453cae5bd8ef900c59eff001f40.tar.gz
Add response to config update in yq logs
add response to config update
-rw-r--r--ydb/core/yq/libs/logs/log.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ydb/core/yq/libs/logs/log.cpp b/ydb/core/yq/libs/logs/log.cpp
index 18e5faee5d3..65371ef058c 100644
--- a/ydb/core/yq/libs/logs/log.cpp
+++ b/ydb/core/yq/libs/logs/log.cpp
@@ -78,6 +78,10 @@ private:
LogConfig.Swap(event.MutableConfig()->MutableLogConfig());
UpdateYqlLogLevels();
+
+ auto resp = MakeHolder<NConsole::TEvConsole::TEvConfigNotificationResponse>(event);
+
+ Send(ev->Sender, resp.Release(), 0, ev->Cookie);
}
void UpdateYqlLogLevels() {