You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Evan Rempel via users <us...@solr.apache.org> on 2026/09/10 20:52:43 UTC
Security policy addition to allow log4j %pid
I don't spend much time in the java space but I do spend a lot of time in the logging, monitoring and metrics space.
When creating a new installation of solr 9.10 our intent was to configure log4j2 to write everything into the syslog stream. To that end we needed to make a log4j2 PatternLayout that included the %pid macro.
With the default java security.policy log4j2 is unable to acquire the process ID of the running java process.
The %pid is a very common template macro for log4j2.
Would the solr team consider adding the belo3 security policy permission to the shipping policy?
permission java.lang.RuntimePermission "manageProcess";
Thanks for your time.
--
Evan