Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-1245

Username should appear in each line of log

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.2 Larks
    • Fix Version/s: 1.2 Larks
    • Labels:
      None
    • Sprint:
      Larks 1.2

      Description

      We need to use slf4j's MDC (mapped diagnostic context) in order to show user ID for each line of code we have.
      The MDC should start in the very first listener/filter and user id should be put there. Then when response is sent the MDC should be removed.
      Note, that MDC has to be cleared after each request so that we don't leak.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  shogun Anuar Nurmakanov
                  Reporter:
                  ctapobep Stanislav Bashkyrtsev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel