This is an automated email from the ASF dual-hosted git repository.

pnoltes pushed a commit to branch feature/improve-configurability-log-admin
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to 
refs/heads/feature/improve-configurability-log-admin by this push:
     new 2cd265275 Add missing include to celix_log_control.h
2cd265275 is described below

commit 2cd26527502894867ad5bba2a3d2ca2e0e8d2b6c
Author: Pepijn Noltes <[email protected]>
AuthorDate: Sat Oct 5 15:25:16 2024 +0200

    Add missing include to celix_log_control.h
---
 bundles/logging/log_admin/gtest/src/LogAdminTestSuite.cc    | 2 +-
 bundles/logging/log_admin/src/celix_log_admin.c             | 2 +-
 bundles/logging/log_service_api/include/celix_log_control.h | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

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 <stdbool.h>
 #include <stddef.h>
 #include "celix_log_level.h"
+#include "celix_array_list_type.h"
 
 #ifdef __cplusplus
 extern "C" {

Reply via email to