[
https://issues.apache.org/jira/browse/LOG4J2-3484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul closed LOG4J2-3484.
------------------------
Resolution: Invalid
false alarm.
root cause was traced to the installation of the ActiveMQ 5.17 RA in Payara.
For reasons i don't have to to track down, this RA (which uses Log4j2 2.17.2)
pulled the plug on ALL Log4j functionality. Every deployed app -some of them
stable for 12+ months) quit logging,and dumped everything into the console.
I advise not installing ActiveMQ RA
> environment variables are no longer resolved
> --------------------------------------------
>
> Key: LOG4J2-3484
> URL: https://issues.apache.org/jira/browse/LOG4J2-3484
> Project: Log4j 2
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 2.17.2
> Environment: Openjdk11
> OSX Monterey 12.3.1 (21E258)
> Reporter: Paul
> Priority: Major
>
> this used to worked in 2.16.0. I upgraded to 2.17.2
> <RollingFile name="rollingFile" fileName="${env:DOMAIN_LOGS}/xxxxx.log"
> filePattern="$${sys:DOMAIN_LOGS}/$${date:yyyy-MM}/xxxxx-%d\{MM-dd-yyyy}-%i.log.gz">
> this bug seriously undercuts deployment models where log-location has to vary
> per environment.
>
> log4J - once a workhorse that solved a core problem is now a liability to me.
> I'd roll back 5 versions if there wasn't the critical security flaw that's
> forced upgrades.
>
> Hardcoding file-paths is simply not an option; this feature is unreliable, so
> maybe the oath forward is symlinks, and hardcode every path in sight.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)