mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
Update Loggers.cpp
This commit is contained in:
parent
b9f208d54c
commit
7a6a6e093b
@ -155,7 +155,8 @@ void Loggers::buildLoggers(Poco::Util::AbstractConfiguration & config, Poco::Log
|
||||
|
||||
void Loggers::setLoggerSensitiveDataMasker(Poco::Logger & logger, DB::SensitiveDataMasker * sensitive_data_masker)
|
||||
{
|
||||
if (auto split = dynamic_cast<DB::OwnSplitChannel *>(logger.getChannel())) {
|
||||
if (auto split = dynamic_cast<DB::OwnSplitChannel *>(logger.getChannel()))
|
||||
{
|
||||
split->setMasker(sensitive_data_masker);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user