diff options
-rw-r--r-- | src/tools/dbimport/Main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/dbimport/Main.cpp b/src/tools/dbimport/Main.cpp index 0f4ddf5ffa..0ab64be724 100644 --- a/src/tools/dbimport/Main.cpp +++ b/src/tools/dbimport/Main.cpp @@ -62,6 +62,8 @@ int main(int argc, char** argv) if (!sConfigMgr->LoadAppConfigs()) return 1; + std::vector<std::string> overriddenKeys = sConfigMgr->OverrideWithEnvVariablesIfAny(); + // Init logging sLog->Initialize(); @@ -78,6 +80,9 @@ int main(int argc, char** argv) } ); + for (std::string const& key : overriddenKeys) + LOG_INFO("dbimport", "Configuration field {} was overridden with environment variable.", key); + OpenSSLCrypto::threadsSetup(); std::shared_ptr<void> opensslHandle(nullptr, [](void*) { OpenSSLCrypto::threadsCleanup(); }); |