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

Matt Sicker updated LOG4J2-1308:
--------------------------------
    Description: 
In the .properties config file format, several plugin types currently require 
you to declare names ahead of time. For instance:

{code}
appenders = foo, bar, baz
appender.foo.type = Console
appender.bar.type = File
appender.baz.type = List
# ...
{code}

would be transformed into

{code}
appender.foo.type = Console
appender.bar.type = File
appender.baz.type = List
# ...
{code}

These names should be inferable by their first usage. Then the appenders, 
filters, loggers, etc., properties can all be safely ignored for backwards 
compatibility with 2.4/2.5.

  was:
In the .properties config file format, several plugin types currently require 
you to declare names ahead of time. For instance:

{code}
appenders = foo, bar, baz
appender.foo.type = Console
appender.bar.type = File
appender.baz.type = List
# ...
{code}

These names should be inferable by their first usage. Then the appenders, 
filters, loggers, etc., properties can all be safely ignored for backwards 
compatibility.


> Remove need to pre-specify appender names et al. in property file config 
> format
> -------------------------------------------------------------------------------
>
>                 Key: LOG4J2-1308
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1308
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Configurators
>    Affects Versions: 2.4, 2.5
>            Reporter: Matt Sicker
>            Assignee: Matt Sicker
>
> In the .properties config file format, several plugin types currently require 
> you to declare names ahead of time. For instance:
> {code}
> appenders = foo, bar, baz
> appender.foo.type = Console
> appender.bar.type = File
> appender.baz.type = List
> # ...
> {code}
> would be transformed into
> {code}
> appender.foo.type = Console
> appender.bar.type = File
> appender.baz.type = List
> # ...
> {code}
> These names should be inferable by their first usage. Then the appenders, 
> filters, loggers, etc., properties can all be safely ignored for backwards 
> compatibility with 2.4/2.5.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to