Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2822

Javadoc: invalid @value

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Documentation
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.14.0
    • Component/s: None
    • Labels:
      None

      Description

      In the javadoc, the sentence "To enable automatic inheritance of copies of the MDC to newly created threads, enable the Log4j system property. " makes no sense at
      https://logging.apache.org/log4j/2.x/log4j-api/apidocs/org/apache/logging/log4j/ThreadContext.html

      The problem is that {@value DefaultThreadContextMap#INHERITABLE_MAP} is not valid javadoc at https://github.com/apache/logging-log4j2/blob/master/log4j-api/src/main/java/org/apache/logging/log4j/ThreadContext.java#L45

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              emeric.vernat Emeric Vernat

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment