You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Matt Sicker (JIRA)" <ji...@apache.org> on 2016/03/06 21:05:40 UTC
[jira] [Created] (LOG4J2-1308) Remove need to pre-specify appender
names et al. in property file config format
Matt Sicker created LOG4J2-1308:
-----------------------------------
Summary: 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.5, 2.4
Reporter: 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}
These names should be inferable by their first usage. Then the appenders, filters, loggers, etc., properties can all be safely ignored for backwards compatibility.
--
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