Logging of incoming and outgoing messages from other IDS infrastructure components #2644
-
Is it possible to log-output incoming and outgoing IDS-messages from and to other IDS infrastructure components (e.g. central Broker) in the log? Use case: The other IDS infrastructure component (e.g. Broker) responds with a RejectionMessage instead of an expected MessageProcessedNotificationMessage and we want to log-output the entire IDS-message response (and in advance send IDS-message). (edc-known-friend edc-broker-extension would need this: https://github.com/sovity/edc-extensions/tree/main/extensions/broker) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I don't think this should be part of the core repository or encouraged as a best practice:
If you want to send some type of audit event, the eventing system is the correct place to do this. If you are interested in recording messages for debugging purposes, Jersey filters and OkHttp interceptors are the way to go. |
Beta Was this translation helpful? Give feedback.
I don't think this should be part of the core repository or encouraged as a best practice:
If you want to send some type of audit event, the eventing system is the correct place to do this. If you are interested in recording messages for debugging purposes, Jersey filters and OkHttp interceptors are the way to go.