[JIRA] (JOIDC-112) OP_OIDC_MESSAGES log appender to trace all the exchanged protocol messages

Simone Avogadro (Jira) jira at shibboleth.atlassian.net
Wed Jun 22 15:47:22 UTC 2022


Simone Avogadro ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A60a84ee1-4961-471b-99d8-f67c05e24403 ) *commented* on JOIDC-112 ( https://shibboleth.atlassian.net/browse/JOIDC-112?atlOrigin=eyJpIjoiOTRkZGRkY2U5MzI2NGY4YjgwYzQ0NzU4ZDMwYWE1NDAiLCJwIjoiaiJ9 )

Re: OP_OIDC_MESSAGES log appender to trace all the exchanged protocol messages ( https://shibboleth.atlassian.net/browse/JOIDC-112?atlOrigin=eyJpIjoiOTRkZGRkY2U5MzI2NGY4YjgwYzQ0NzU4ZDMwYWE1NDAiLCJwIjoiaiJ9 )

I’m thinking basically to a wrapper method for log.info(message, params....)
which would intercept and calls like log.info("Message: {} on time {}",nimbusClaims,System.currentTimeMillis() )
and automatically apply formatting to object of specific classes (eg JWTClaimsSet  }} =>  {{ String )

and you declare the log something like this:

Logger myLogger=new LogWrapper(Logger.getLogger(“PROTOCOL_MESSAGES“)

This way you centralize all the usages of these helper methods and don’t risk forgetting applying them around the world

( https://shibboleth.atlassian.net/browse/JOIDC-112#add-comment?atlOrigin=eyJpIjoiOTRkZGRkY2U5MzI2NGY4YjgwYzQ0NzU4ZDMwYWE1NDAiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JOIDC-112#add-comment?atlOrigin=eyJpIjoiOTRkZGRkY2U5MzI2NGY4YjgwYzQ0NzU4ZDMwYWE1NDAiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100201- sha1:5c1db44 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220622/f7fa85bb/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-d0874c76-6e76-48c5-9ab1-ad20dc9aee59
Type: image/png
Size: 341 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220622/f7fa85bb/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-2eb1a396-3d23-4a26-a88a-467ead473b5e
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220622/f7fa85bb/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-adf597ec-e118-480b-beb0-6bd94a05e98c
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220622/f7fa85bb/attachment-0005.png>


More information about the commits mailing list