[
https://issues.apache.org/jira/browse/LOG4J2-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15739411#comment-15739411
]
Remko Popma commented on LOG4J2-1013:
-------------------------------------
The patch (as it stands) causes these tests to fail: LoggerDateTest,
PropertyTest, XmlLoggerPropsTest, ContextMapLookupTest and StrSubstitutorTest.
PropertyTest fails because Property key-value pairs in the configuration are
not resolved correctly, StrSubstitutorTest fails with a NPE.
I still think the general approach is good, but there is obviously still some
remaining work here.
> Log4j2 Main Arguments Lookup by name doesn't work
> -------------------------------------------------
>
> Key: LOG4J2-1013
> URL: https://issues.apache.org/jira/browse/LOG4J2-1013
> Project: Log4j 2
> Issue Type: Bug
> Components: API, Core, Lookups
> Affects Versions: 2.2
> Environment: Windows 7 x64 Ultimate and Java 8U31 x64. Project
> created using Eclipse.
> Reporter: Ioan Mihaila
> Priority: Critical
> Fix For: 2.8
>
> Attachments:
> LOG4J2_1013_select_underlying_StrLookup_before_stripping_off_potential_default_values.patch
>
>
> Accessing Main Arguments by using index based look up works : $\{main:0}
> Accessing Main Arguments by using name based look up doesn't work :
> $\{main:--file}
> When trying to access by name it doesn't retrieve the argument but retrieves
> "-file".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]