Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0
    • Component/s: None
    • Labels:
      None

      Description

      See http://stackoverflow.com/q/43419684/1446916

      There is interest in a %pid pattern converter that shows the operating system process ID in the log. Java 9 will provide an official API for this, when running on an older version of Java, a best-effort approach that works on most platforms is still useful if the limitations are clearly documented.

        Activity

        Hide
        ralph.goers@dslextreme.com Ralph Goers added a comment - - edited

        We need a Java 9 Epic. Currently I have StackWalker, Java 9 modules and support for Java 9's enhanced Clock as candidates for inclusion. As part of my work on StackWalker, which I will be committing shortly, we have a way to include all this as part of the standard log4j-core jar, but we may want to enhance our plugin support to be able to choose between different plugin instances.

        Show
        ralph.goers@dslextreme.com Ralph Goers added a comment - - edited We need a Java 9 Epic. Currently I have StackWalker, Java 9 modules and support for Java 9's enhanced Clock as candidates for inclusion. As part of my work on StackWalker, which I will be committing shortly, we have a way to include all this as part of the standard log4j-core jar, but we may want to enhance our plugin support to be able to choose between different plugin instances.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 4fef145d85d144e803f195d67d9733d1e0271ed2 in logging-log4j2's branch refs/heads/master from rpopma
        [ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=4fef145 ]

        LOG4J2-1884 Added process ID (pid) pattern converter.

        Show
        jira-bot ASF subversion and git services added a comment - Commit 4fef145d85d144e803f195d67d9733d1e0271ed2 in logging-log4j2's branch refs/heads/master from rpopma [ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=4fef145 ] LOG4J2-1884 Added process ID (pid) pattern converter.
        Hide
        remkop@yahoo.com Remko Popma added a comment -

        Merged to master.

        Show
        remkop@yahoo.com Remko Popma added a comment - Merged to master.
        Hide
        remkop@yahoo.com Remko Popma added a comment -

        The current implementation is a best-effort and does not try to use any Java 9 APIs.

        Show
        remkop@yahoo.com Remko Popma added a comment - The current implementation is a best-effort and does not try to use any Java 9 APIs.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit f3a1268e333d72431df7faa1757ceb44520ae311 in logging-log4j2's branch refs/heads/master from rpopma
        [ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=f3a1268 ]

        LOG4J2-1884 fix formatting issue in the manual

        Show
        jira-bot ASF subversion and git services added a comment - Commit f3a1268e333d72431df7faa1757ceb44520ae311 in logging-log4j2's branch refs/heads/master from rpopma [ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=f3a1268 ] LOG4J2-1884 fix formatting issue in the manual

          People

          • Assignee:
            remkop@yahoo.com Remko Popma
            Reporter:
            remkop@yahoo.com Remko Popma
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development