logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Sicker (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LOG4J2-1308) Remove need to pre-specify appender names et al. in property file config format
Date Sun, 06 Mar 2016 21:14:40 GMT

     [ 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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message