You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "oskarryn (Jira)" <ji...@apache.org> on 2022/05/11 11:51:00 UTC

[jira] [Resolved] (LOG4J2-3478) Base64 lookup doesn't work with system property substitution

     [ https://issues.apache.org/jira/browse/LOG4J2-3478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

oskarryn resolved LOG4J2-3478.
------------------------------
    Resolution: Not A Bug

> Base64 lookup doesn't work with system property substitution
> ------------------------------------------------------------
>
>                 Key: LOG4J2-3478
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3478
>             Project: Log4j 2
>          Issue Type: Bug
>            Reporter: oskarryn
>            Priority: Minor
>
> Base64 encoded system property doesn't work, e.g.
> {code:java}
> property.token = ${base64:${sys:some.encoded.token}}
> {code}
> fails (silently) and is valued literally, without any expansion. The expected behavior is that the _some.encoded.token_ system property would be looked up and then decoded by base64 lookup.
> If this kind of "nesting" should be considered a feature please comment and I'll change the type.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)