[
https://issues.apache.org/jira/browse/LOG4J2-1884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16061943#comment-16061943
]
Remko Popma commented on LOG4J2-1884:
-------------------------------------
The current implementation is a best-effort and does not try to use any Java 9
APIs.
> Process ID (pid) pattern converter
> ----------------------------------
>
> Key: LOG4J2-1884
> URL: https://issues.apache.org/jira/browse/LOG4J2-1884
> Project: Log4j 2
> Issue Type: New Feature
> Reporter: Remko Popma
> Assignee: Remko Popma
> Fix For: 2.9
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)