Class SubscriptionDebugLogInterceptor

java.lang.Object
ca.uhn.fhir.jpa.subscription.util.SubscriptionDebugLogInterceptor

This interceptor can be used for troubleshooting subscription processing. It provides very detailed logging about the subscription processing pipeline.

This interceptor loges each step in the processing pipeline with a different event code, using the event codes itemized in SubscriptionDebugLogInterceptor.EventCodeEnum. By default these are each placed in a logger with a different name (e.g. ca.uhn.fhir.jpa.subscription.util.SubscriptionDebugLogInterceptor.SUBS20 in order to facilitate fine-grained logging controls where some codes are omitted and some are not.

A custom log factory can also be passed in, in which case the logging creation may use another strategy.

Since:
3.7.0
See Also:
SubscriptionDebugLogInterceptor.EventCodeEnum