You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Volkan Yazici (Jira)" <ji...@apache.org> on 2021/08/26 14:07:00 UTC

[jira] [Updated] (LOG4J2-3073) Issues using Lookup Plugin in Json Template Logging

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

Volkan Yazici updated LOG4J2-3073:
----------------------------------
    Fix Version/s: 2.15.0

> Issues using Lookup Plugin in Json Template Logging
> ---------------------------------------------------
>
>                 Key: LOG4J2-3073
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3073
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 2.14.1
>            Reporter: Paul Rubin
>            Assignee: Volkan Yazici
>            Priority: Minor
>             Fix For: 2.15.0
>
>
> I recently need to create a series of Plugins to be used in JsonTemplateLogging.  I am not sure which are documentation issues and which are bugs in the underlying code.
> The first difficulty was in matching the name I did not see anything in the documentation about the case of the name.  If I used any capital letters in the name it becomes unmatchable.
> The second issue is that you must cause a map replacement or the Lookup is never called and the defaultLookup is used and it simply returns the name of the lookup.
> I could not find any syntax that would call the no event lookup method:
> {code:java}
> @Override
> public String lookup(String key) {
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)