diff --git a/components/common/cpp/include/ftl/configurable.hpp b/components/common/cpp/include/ftl/configurable.hpp index a9fe18e23eb6609c1b04c3f55691f0a3648a5962..210184e76e50ab6f9c6ed7fe3f6c6afea7cfee29 100644 --- a/components/common/cpp/include/ftl/configurable.hpp +++ b/components/common/cpp/include/ftl/configurable.hpp @@ -132,7 +132,7 @@ std::optional<T> ftl::Configurable::get(const std::string &name) { std::string res_uri = config_["$ref"].get<std::string>()+"/"+name; auto &r = ftl::config::resolve(res_uri); - LOG(INFO) << "GET Resolve: " << res_uri << " = " << r; + DLOG(1) << "GET: " << res_uri << " = " << r; try { return r.get<T>(); diff --git a/components/common/cpp/src/configuration.cpp b/components/common/cpp/src/configuration.cpp index d34ff024acb4eba20dcf4bcc782c38e1722ea972..f21eb026202dd2cfaaa1ed822932414136849cdb 100644 --- a/components/common/cpp/src/configuration.cpp +++ b/components/common/cpp/src/configuration.cpp @@ -208,7 +208,6 @@ json_t &ftl::config::resolve(const std::string &puri) { ftl::URI uri(uri_str); if (uri.isValid()) { std::string u = uri.getBaseURI(); - LOG(INFO) << "Resolve URI: " << u; auto ix = config_index.find(u); if (ix == config_index.end()) { LOG(FATAL) << "Cannot find resource: " << u; @@ -393,13 +392,12 @@ static void signalIntHandler( int signum ) { } Configurable *ftl::config::configure(int argc, char **argv, const std::string &root) { - loguru::init(argc, argv, "--verbosity"); - argc--; - argv++; - loguru::g_preamble_date = false; loguru::g_preamble_uptime = false; loguru::g_preamble_thread = false; + loguru::init(argc, argv, "--verbosity"); + argc--; + argv++; #ifndef WIN32 signal(SIGINT,signalIntHandler);