Projects tigase _server server-core Issues #1485
How can I implement the use of MDC in tigase logs? Any sugestions? (#1485)
Closed
Unknown opened 2 years ago

I have a problem with… Difficulties using MDC in tigase logs. trying to integrate a correlation id in logs.

Details (please complete the following information):

  • Tigase version: 8.1.0
  • AdoptOpenJDK11
  • Linux Ubuntu 20.04
Unknown commented 2 years ago

I assume that MDC stands here for Mapped Diagnostic Context?

Currently, we use JUL logger and from what I read it doesn't support MDC so adding support for it would require complete overhaul of logging in Tigase. What's more, considering that Tigase is multi-component and multi-threaded, passing correctly id between would be problematic.

Though, we do include packet in most of the log entries so tracking packet processing (using it's ID) should be fine (even though not ideal).

Unknown commented 2 years ago

Yeah :). Perfect thank you, will try the tracking on each packet logs.

issue 1 of 1
Type
Question
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#1485
Please wait...
Page is in error, reload to recover