I am trying to figure an approach for tying log messages across systems (client system, DMOE). The options I have are
- The client can pass a tracking id in the HTTP header when it calls DMOE. I need to be able to in the DMOE world find a way to get an HTTP header value which I then need to stash in a MDC so that quarkus can log it.
- Alternatively the client can call DMOE with a businessKey query param. I then need to be able to configure the DMOE quarkus logs so the businessKey is always logged.
Can someone suggest an ideal approach to doing this or refer me to a sample.
Many thanks.
------------------------------
Krishna Satya
------------------------------