Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-916

Track template location in logs using slf4j MDC mechanism

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2
    • Component/s: Engine
    • Labels:
      None

      Description

      Slf4j MDC (Mapped Diagnostic Context) allows to set contextual key/value pairs, which can be used in MDC-aware logger implementations.

      The proposed feature is to populate "file", "line" and "column" MDC tags during template rendering.

       

        Attachments

          Activity

            People

            • Assignee:
              claude Claude Brisson
              Reporter:
              claude Claude Brisson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: