diff --git a/src/components/controller.cpp b/src/components/controller.cpp index 474abe5f..ec856766 100644 --- a/src/components/controller.cpp +++ b/src/components/controller.cpp @@ -63,6 +63,8 @@ controller::controller( if (!created_modules) { throw application_error("No modules created"); } + + m_log.notice("Loaded %zd modules", created_modules); } /** @@ -597,6 +599,7 @@ size_t controller::setup_modules(alignment align) { throw application_error("Inter-process messaging needs to be enabled"); } + m_log.notice("Loading module '%s' of type '%s'", module_name, type); auto ptr = make_module(move(type), m_bar->settings(), module_name, m_log); module_t module = shared_ptr(ptr); ptr = nullptr; @@ -608,7 +611,7 @@ size_t controller::setup_modules(alignment align) { } } - return m_modules.size(); + return m_blocks[align].size(); } /**