[java-identity-provider] branch main updated: IDP-2381 Add moduleId in module logging at startup

Rod Widdowson rdw at steadingsoftware.com
Sat Jun 7 10:47:47 UTC 2025


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

rdw pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=b88a07294c86d2ba628cc2d5849eff6a22c62b52

The following commit(s) were added to refs/heads/main by this push:
     new b88a07294 IDP-2381 Add moduleId in module logging at startup
b88a07294 is described below

commit b88a07294c86d2ba628cc2d5849eff6a22c62b52
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Jun 7 11:46:21 2025 +0100

    IDP-2381 Add moduleId in module logging at startup
    
    https://shibboleth.atlassian.net/browse/IDP-2381
    
    Also add even more info (pluginId and description) if logging at Debug.
---
 .../net/shibboleth/idp/admin/impl/LogImplementationDetails.java  | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/idp-admin-impl/src/main/java/net/shibboleth/idp/admin/impl/LogImplementationDetails.java b/idp-admin-impl/src/main/java/net/shibboleth/idp/admin/impl/LogImplementationDetails.java
index 4c47d7170..5e31e163a 100644
--- a/idp-admin-impl/src/main/java/net/shibboleth/idp/admin/impl/LogImplementationDetails.java
+++ b/idp-admin-impl/src/main/java/net/shibboleth/idp/admin/impl/LogImplementationDetails.java
@@ -92,7 +92,14 @@ public final class LogImplementationDetails extends ApplicationObjectSupport {
             } else {
                 log.info("Enabled Modules:");
                 for (final IdPModule module : modules) {
-                    log.info("\t\t{}",  module.getName(moduleContext));
+                    log.info("\t\t{}-{}",  module.getId(), module.getName(moduleContext));
+                    if (log.isDebugEnabled()) {
+                        final String plugin = module.getOwnerId();
+                        if (plugin != null) {
+                            log.debug("\t\t\tPlugin: {}", plugin);
+                        }
+                        log.debug("\t\t\t{}", module.getDescription(moduleContext));
+                    }
                 }
             }
         } else {

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


More information about the commits mailing list