[cpp-sp] branch main updated: CPPSP-22 Pull in Windows event log DLL from log4shib

Rod Widdowson rdw at steadingsoftware.com
Mon Oct 27 16:01:54 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:
https://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=3f0f40673ee7a6d153d5cc9d303aa83c345f7a6a

The following commit(s) were added to refs/heads/main by this push:
     new 3f0f4067 CPPSP-22 Pull in Windows event log DLL from log4shib
3f0f4067 is described below

commit 3f0f40673ee7a6d153d5cc9d303aa83c345f7a6a
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Oct 27 16:00:23 2025 +0000

    CPPSP-22 Pull in Windows event log DLL from log4shib
    
    https://shibboleth.atlassian.net/browse/CPPSP-22
    
    Tidy up the log file
---
 shibsp/logging/impl/NativeEventLog.mc | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/shibsp/logging/impl/NativeEventLog.mc b/shibsp/logging/impl/NativeEventLog.mc
index 3d0ef8db..de8445b7 100644
--- a/shibsp/logging/impl/NativeEventLog.mc
+++ b/shibsp/logging/impl/NativeEventLog.mc
@@ -1,39 +1,46 @@
 ;#define SHIB_EVENT_SOURCE_NAME "ShibbolethSPAgent"
 
+;/*
+; * These are the "event" that the logging service products for SHIB_CRIT and so forth
+; */
 MessageId=0x1
 Severity=Error
 SymbolicName=SHIBSP_LOG_CRIT
 Language=English
-CRITICAL [%1] : [%2]
+CRITICAL %1 : %2
 .
 
 MessageId=0x2
 SymbolicName=SHIBSP_LOG_ERROR
 Language=English
-Error [%1] : [%2]
+Error %1 : %2
 .
 
 MessageId=0x3
 Severity=Warning
 SymbolicName=SHIBSP_LOG_WARN
 Language=English
-Warn [%1] : [%2]
+Warn %1 : %2
 .
 
 MessageId=0x4
 Severity=Informational
 SymbolicName=SHIBSP_LOG_INFO
 Language=English
-Info [%1] : [%2]
+Info %1 : %2
 .
 
 MessageId=0x5
 Severity=Success
 SymbolicName=SHIBSP_LOG_DEBUG
 Language=English
-Debug [%1] : [%2]
+Debug %1 : %2
 .
 
+;/*
+; * These are the "Categories" required by the ReportEvent Api
+; * We keep them separate from the events.
+; */
 MessageId=0x6
 SymbolicName=SHIBSP_CATEGORY_CRIT
 Language=English

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


More information about the commits mailing list