diff --git a/bundles/logging/log_admin/gtest/src/LogAdminTestSuite.cc b/bundles/logging/log_admin/gtest/src/LogAdminTestSuite.cc index 79fef9a82..66abc34a6 100644 --- a/bundles/logging/log_admin/gtest/src/LogAdminTestSuite.cc +++ b/bundles/logging/log_admin/gtest/src/LogAdminTestSuite.cc @@ -642,7 +642,7 @@ TEST_F(LogAdminTestSuite, LogServiceWithConfigPropertyTest) { } TEST_F(LogAdminTestSuite, LogSinkWithConfigPropertyTest) { - // Given a fw with a config property that set the active log level of a log service to fatal + // Given a fw with a config property that enables the log sink foo and disables all other sinks auto fw = celix::createFramework({ {CELIX_FRAMEWORK_CACHE_DIR, ".cacheLogAdminTestSuiteWithConfig"}, {"CELIX_LOG_ADMIN_LOG_SINKS_DEFAULT_ENABLED", "false"}, diff --git a/bundles/logging/log_admin/src/celix_log_admin.c b/bundles/logging/log_admin/src/celix_log_admin.c index 14381ed5c..c68dfc63f 100644 --- a/bundles/logging/log_admin/src/celix_log_admin.c +++ b/bundles/logging/log_admin/src/celix_log_admin.c @@ -826,4 +826,4 @@ void celix_logAdmin_destroy(celix_log_admin_t *admin) { celixThreadRwlock_destroy(&admin->lock); free(admin); } -} \ No newline at end of file +} diff --git a/bundles/logging/log_service_api/include/celix_log_control.h b/bundles/logging/log_service_api/include/celix_log_control.h index 61f04e4aa..a653e6f3f 100644 --- a/bundles/logging/log_service_api/include/celix_log_control.h +++ b/bundles/logging/log_service_api/include/celix_log_control.h @@ -23,6 +23,7 @@ #include #include #include "celix_log_level.h" +#include "celix_array_list_type.h" #ifdef __cplusplus extern "C" {