You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2018/08/28 17:44:00 UTC

[jira] [Commented] (LOG4J2-2424) Process ID (pid) lookup

    [ https://issues.apache.org/jira/browse/LOG4J2-2424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16595355#comment-16595355 ] 

Ralph Goers commented on LOG4J2-2424:
-------------------------------------

A pid lookup would return the current process id. I am not sure how that would help in separating log files. Can you explain more on what you are thinking?

> Process ID (pid) lookup
> -----------------------
>
>                 Key: LOG4J2-2424
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2424
>             Project: Log4j 2
>          Issue Type: New Feature
>          Components: Lookups
>    Affects Versions: 2.11.1
>            Reporter: Simon Schneider
>            Priority: Major
>
> Similar to LOG4J2-1884 it would be great to be able to use {{%pid}} as lookup e.g. to seperate log files from different processes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)