logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Goers (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (LOG4J2-1651) Makes the dat format more user friendly
Date Sun, 06 Nov 2016 02:28:58 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15640962#comment-15640962
] 

Ralph Goers edited comment on LOG4J2-1651 at 11/6/16 2:28 AM:
--------------------------------------------------------------

I suspect that using a more "normal" XML would be a lot better than either of what you have
shown - especially if it maps directly to a PluginEntry. For example,

<PluginEntry category="ConfigurationFactory" name="JsonConfigurationFactory" classname="org.apache.logging.log4j.core.config.json.JsonConfigurationFactory"
defer="false" key="JsonConfigurationFactory" printable="false"/>


was (Author: ralph.goers@dslextreme.com):
I suspect that using a more "normal" XML would be a lot better than either of what you have
shown. For example,

<configurationfactory name="JsonConfigurationFactory" classname="org.apache.logging.log4j.core.config.json.JsonConfigurationFactory"
defer="false" key="jsonconfigurationfactory" printable="false"/>

or 

<entry type="ConfigurationFactory" name="JsonConfigurationFactory" classname="org.apache.logging.log4j.core.config.json.JsonConfigurationFactory"
defer="false" key="jsonconfigurationfactory" printable="false"/>

> Makes the dat format more user friendly
> ---------------------------------------
>
>                 Key: LOG4J2-1651
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1651
>             Project: Log4j 2
>          Issue Type: Improvement
>            Reporter: Romain Manni-Bucau
>         Attachments: Log4j2Plugins.xml
>
>
> The dat format used by the plugin is not that friendly when users want to shade log4j2
and manual manipulation is hard and require some advanced shade ability (concretely you need
to write your own PluginCache serialization if you select a subpart of log4j2 to go in your
shade)
> Would be great to provide an easier and smoother way to do that.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message