Regarding https://issues.apache.org/jira/browse/LOG4J2-2126
Why is ProcessIdUtil in log4j-api in the first place? It is only used from log4j-core. Can't we move it to log4j-core?
I think that in general, we have too much things in log4j-api, and that causes problems like this.