diff --git a/unit_tests/falco/test_atomic_signal_handler.cpp b/unit_tests/falco/test_atomic_signal_handler.cpp index 53764cd7cdf..9d2edbe6da3 100644 --- a/unit_tests/falco/test_atomic_signal_handler.cpp +++ b/unit_tests/falco/test_atomic_signal_handler.cpp @@ -16,7 +16,7 @@ limitations under the License. */ #include -#include +#include #include diff --git a/userspace/engine/CMakeLists.txt b/userspace/engine/CMakeLists.txt index 8353c0078ae..3c6722bfb02 100644 --- a/userspace/engine/CMakeLists.txt +++ b/userspace/engine/CMakeLists.txt @@ -22,6 +22,7 @@ add_library(falco_engine STATIC filter_details_resolver.cpp filter_macro_resolver.cpp filter_warning_resolver.cpp + logger.cpp stats_manager.cpp rule_loader.cpp rule_loader_reader.cpp diff --git a/userspace/engine/evttype_index_ruleset.cpp b/userspace/engine/evttype_index_ruleset.cpp index 2a88fb10c8d..47e1891cd07 100644 --- a/userspace/engine/evttype_index_ruleset.cpp +++ b/userspace/engine/evttype_index_ruleset.cpp @@ -19,7 +19,7 @@ limitations under the License. #include "falco_utils.h" -#include "../falco/logger.h" +#include "logger.h" #include diff --git a/userspace/falco/logger.cpp b/userspace/engine/logger.cpp similarity index 100% rename from userspace/falco/logger.cpp rename to userspace/engine/logger.cpp diff --git a/userspace/falco/logger.h b/userspace/engine/logger.h similarity index 100% rename from userspace/falco/logger.h rename to userspace/engine/logger.h diff --git a/userspace/falco/CMakeLists.txt b/userspace/falco/CMakeLists.txt index 55cb9ab3254..ca21186679f 100644 --- a/userspace/falco/CMakeLists.txt +++ b/userspace/falco/CMakeLists.txt @@ -50,7 +50,6 @@ add_library(falco_application STATIC app/actions/create_requested_paths.cpp app/actions/close_inspectors.cpp configuration.cpp - logger.cpp falco_outputs.cpp outputs_file.cpp outputs_stdout.cpp diff --git a/userspace/falco/app/restart_handler.cpp b/userspace/falco/app/restart_handler.cpp index 0647b5b02f4..4fbc29c0909 100644 --- a/userspace/falco/app/restart_handler.cpp +++ b/userspace/falco/app/restart_handler.cpp @@ -17,7 +17,7 @@ limitations under the License. #include "restart_handler.h" #include "signals.h" -#include "../logger.h" +#include "logger.h" #include #include