RapidTransit commented on issue #2274:
URL: 
https://github.com/apache/logging-log4j2/issues/2274#issuecomment-1934792599

   Version: 2.21.1
   I had a similar problem, I don't recall what fixed it but here's a snippet 
of my config, I want to say maybe the property was coming up null?:
   AFAIK I haven't tweaked my production config.
   `    <Properties>
           <Property name="log4j2.disableJmx">true</Property>
           <Property name="log4j2.disable.jmx">true</Property>
           <Property name="log4j2.enableJndiLookup">false</Property>
           <Property 
name="filename">${env:PROXY_LOG_LOCATION:-/var/log/proxy}</Property>
       </Properties>
   
       <Select>
       <SystemPropertyArbiter propertyName="log.environment" 
propertyValue="production">
   
           <Appenders>
   
               <RollingFile name="GenericRollingFile" 
fileName="${filename}/application.log" 
filePattern="logs/application-%d{MM-dd-yyyy}-%i.log.gz">
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to