refs #8443 fix logging

This commit is contained in:
Mikhail Nacharov 2019-12-29 18:08:33 +05:00
parent 96b1da762f
commit d6cd202860
3 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ void LocalServer::initialize(Poco::Util::Application & self)
if (config().has("logger") || config().has("logger.level") || config().has("logger.log"))
{
// sensitive data rules are not used here
buildLoggers(config(), logger());
buildLoggers(config(), logger(), self.commandName());
}
else
{

View File

@ -124,7 +124,7 @@ void ODBCBridge::initialize(Application & self)
config().setString("logger", "ODBCBridge");
buildLoggers(config(), logger());
buildLoggers(config(), logger(), self.commandName());
log = &logger();
hostname = config().getString("listen-host", "localhost");

View File

@ -686,7 +686,7 @@ void BaseDaemon::initialize(Application & self)
}
// sensitive data masking rules are not used here
buildLoggers(config(), logger());
buildLoggers(config(), logger(), self.commandName());
if (is_daemon)
{