summaryrefslogtreecommitdiff
path: root/src/server/apps/authserver/Main.cpp
diff options
context:
space:
mode:
authorMike Delago <32778141+michaeldelago@users.noreply.github.com>2023-09-20 16:55:46 -0400
committerGitHub <noreply@github.com>2023-09-20 22:55:46 +0200
commitb1c92f498a3ba2464478f5115f2b8974efcbda35 (patch)
treef66d3ee76c0f856d1522a478e3bf29cded3e6fea /src/server/apps/authserver/Main.cpp
parentc4c5e0b4386ca277dcf61d4d8a1e7d1f3bdb0065 (diff)
refactor(Core): Source config more aggressively from env, rephrase a few of the messages (#17114)
* refactor(Core): Let modules source config from env * create a cache of configs from env * Update src/common/Configuration/Config.cpp Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * Update src/common/Configuration/Config.cpp Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * enforce new function name --------- Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Diffstat (limited to 'src/server/apps/authserver/Main.cpp')
-rw-r--r--src/server/apps/authserver/Main.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/server/apps/authserver/Main.cpp b/src/server/apps/authserver/Main.cpp
index bc40f2f10b..4c110db7aa 100644
--- a/src/server/apps/authserver/Main.cpp
+++ b/src/server/apps/authserver/Main.cpp
@@ -85,8 +85,6 @@ int main(int argc, char** argv)
if (!sConfigMgr->LoadAppConfigs())
return 1;
- std::vector<std::string> overriddenKeys = sConfigMgr->OverrideWithEnvVariablesIfAny();
-
// Init logging
sLog->RegisterAppender<AppenderDB>();
sLog->Initialize(nullptr);
@@ -103,9 +101,6 @@ int main(int argc, char** argv)
LOG_INFO("server.authserver", "> Using Boost version: {}.{}.{}", BOOST_VERSION / 100000, BOOST_VERSION / 100 % 1000, BOOST_VERSION % 100);
});
- for (std::string const& key : overriddenKeys)
- LOG_INFO("server.authserver", "Configuration field {} was overridden with environment variable.", key);
-
OpenSSLCrypto::threadsSetup();
std::shared_ptr<void> opensslHandle(nullptr, [](void*) { OpenSSLCrypto::threadsCleanup(); });