[cpp-sp] 02/02: Supress the WindowsLoggingServiceFactory for now

Rod Widdowson rdw at steadingsoftware.com
Thu Jan 9 16:44:49 UTC 2025


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch main
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=e5439b388ad40d9c1385c2baeadfd84198504446

commit e5439b388ad40d9c1385c2baeadfd84198504446
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Thu Jan 9 16:39:34 2025 +0000

    Supress the WindowsLoggingServiceFactory for now
---
 shibsp/logging/impl/AbstractLoggingService.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shibsp/logging/impl/AbstractLoggingService.cpp b/shibsp/logging/impl/AbstractLoggingService.cpp
index bb44872a..782e0eda 100644
--- a/shibsp/logging/impl/AbstractLoggingService.cpp
+++ b/shibsp/logging/impl/AbstractLoggingService.cpp
@@ -41,7 +41,7 @@ namespace shibsp {
 
     extern LoggingService* SHIBSP_DLLLOCAL ConsoleLoggingServiceFactory(ptree& pt, bool);
 #ifdef WIN32
-    extern LoggingService* SHIBSP_DLLLOCAL WindowsLoggingServiceFactory(ptree& pt, bool);
+    // extern LoggingService* SHIBSP_DLLLOCAL WindowsLoggingServiceFactory(ptree& pt, bool);
 #else
     extern LoggingService* SHIBSP_DLLLOCAL SyslogLoggingServiceFactory(ptree& pt, bool);
 #endif
@@ -52,7 +52,7 @@ void SHIBSP_API shibsp::registerLoggingServices()
     AgentConfig& conf=AgentConfig::getConfig();
     conf.LoggingServiceManager.registerFactory(CONSOLE_LOGGING_SERVICE, ConsoleLoggingServiceFactory);
 #ifdef WIN32
-    conf.LoggingServiceManager.registerFactory(WINDOWS_LOGGING_SERVICE, WindowsLoggingServiceFactory);
+    // conf.LoggingServiceManager.registerFactory(WINDOWS_LOGGING_SERVICE, WindowsLoggingServiceFactory);
 #else
     conf.LoggingServiceManager.registerFactory(SYSLOG_LOGGING_SERVICE, SyslogLoggingServiceFactory);
 #endif

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list