diff options
| author | babenko <[email protected]> | 2026-06-13 09:31:47 +0300 |
|---|---|---|
| committer | babenko <[email protected]> | 2026-06-13 10:05:50 +0300 |
| commit | 55934b0bfff722c5d0af63cfadb627398b301604 (patch) | |
| tree | 4d104d09056ca6155219d598769721205994db75 /yt/cpp/mapreduce/client/init.cpp | |
| parent | 2fc5fb7195c85a8efae16471b760318d81ede48a (diff) | |
YT-22593: No more TString in yt/yt/logging
commit_hash:84184765a016035a2569741c83f1920d893ce503
Diffstat (limited to 'yt/cpp/mapreduce/client/init.cpp')
| -rw-r--r-- | yt/cpp/mapreduce/client/init.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt/cpp/mapreduce/client/init.cpp b/yt/cpp/mapreduce/client/init.cpp index d4ad7f8769c..9868d65098a 100644 --- a/yt/cpp/mapreduce/client/init.cpp +++ b/yt/cpp/mapreduce/client/init.cpp @@ -189,7 +189,7 @@ void CommonInitialize(TGuard<TMutex>& g) auto coreLoggingConfig = NLogging::TLogManagerConfig::CreateStderrLogger(ToCoreLogLevel(logLevel)); for (const auto& rule : coreLoggingConfig->Rules) { - rule->ExcludeCategories = TConfig::Get()->LogExcludeCategories; + rule->ExcludeCategories = THashSet<std::string>(TConfig::Get()->LogExcludeCategories.begin(), TConfig::Get()->LogExcludeCategories.end()); } if (auto structuredLogPath = TConfig::Get()->StructuredLog) { @@ -205,7 +205,7 @@ void CommonInitialize(TGuard<TMutex>& g) } else { auto coreLoggingConfig = NLogging::TLogManagerConfig::CreateLogFile(logPath, ToCoreLogLevel(logLevel)); for (const auto& rule : coreLoggingConfig->Rules) { - rule->ExcludeCategories = TConfig::Get()->LogExcludeCategories; + rule->ExcludeCategories = THashSet<std::string>(TConfig::Get()->LogExcludeCategories.begin(), TConfig::Get()->LogExcludeCategories.end()); } if (auto structuredLogPath = TConfig::Get()->StructuredLog) { |
