#endif
}
// No exception was thrown
+ dnsdist::logging::setup(dnsdist::configuration::getImmutableConfiguration().d_loggingBackend);
+ setupLogger = dnsdist::logging::getTopLogger()->withName("setup");
+
SLOG(infolog("Configuration '%s' OK!", cmdLine.config),
setupLogger->info(Logr::Info, "Configuration OK", "path", Logging::Loggable(cmdLine.config)));
doExitNicely();
}
dnsdist::logging::setup(dnsdist::configuration::getImmutableConfiguration().d_loggingBackend);
+ setupLogger = dnsdist::logging::getTopLogger()->withName("setup");
// we only want to update this value if it has not been set by either the Lua or YAML configuration,
// and we need to stop touching this value once the backends' hashes have been computed, in setupPools()