From eca071e3d084679acc9de6a48cc73e990f8272d8 Mon Sep 17 00:00:00 2001 From: Matt White <436037+mlw@users.noreply.github.com> Date: Wed, 19 Oct 2022 15:03:25 -0400 Subject: [PATCH] Fix param order --- Source/santad/Logs/EndpointSecurity/Logger.h | 2 +- Source/santad/Logs/EndpointSecurity/Logger.mm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/santad/Logs/EndpointSecurity/Logger.h b/Source/santad/Logs/EndpointSecurity/Logger.h index aff3baf6f..830c7916d 100644 --- a/Source/santad/Logs/EndpointSecurity/Logger.h +++ b/Source/santad/Logs/EndpointSecurity/Logger.h @@ -40,7 +40,7 @@ class Logger { static std::unique_ptr Create( std::shared_ptr esapi, SNTEventLogType log_type, NSString *event_log_path, NSString *spool_log_path, - size_t spool_file_size_threshold, size_t spool_dir_size_threshold, + size_t spool_dir_size_threshold, size_t spool_file_size_threshold, uint64_t spool_flush_timeout_ms); Logger(std::shared_ptr serializer, diff --git a/Source/santad/Logs/EndpointSecurity/Logger.mm b/Source/santad/Logs/EndpointSecurity/Logger.mm index 77cbc37eb..78f13338b 100644 --- a/Source/santad/Logs/EndpointSecurity/Logger.mm +++ b/Source/santad/Logs/EndpointSecurity/Logger.mm @@ -48,8 +48,8 @@ // Translate configured log type to appropriate Serializer/Writer pairs std::unique_ptr Logger::Create(std::shared_ptr esapi, SNTEventLogType log_type, NSString *event_log_path, - NSString *spool_log_path, size_t spool_file_size_threshold, - size_t spool_dir_size_threshold, + NSString *spool_log_path, size_t spool_dir_size_threshold, + size_t spool_file_size_threshold, uint64_t spool_flush_timeout_ms) { switch (log_type) { case SNTEventLogTypeFilelog: