logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1431) Simplify log4j system property naming scheme
Date Sun, 05 Feb 2017 18:47:41 GMT

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

ASF subversion and git services commented on LOG4J2-1431:

Commit a9bcf176cc154fadae2a464c9743788809cf8ae6 in logging-log4j2's branch refs/heads/LOG4J2-1431
from [~jvz]
[ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=a9bcf17 ]

[LOG4J2-1809]: Add global configuration environment SPI

This adds a PropertySource service provider interface for providing
global configuration properties. This also refactors support in
LOG4J2-1431 to use these PropertySource providers.

> Simplify log4j system property naming scheme
> --------------------------------------------
>                 Key: LOG4J2-1431
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1431
>             Project: Log4j 2
>          Issue Type: Improvement
>            Reporter: Matt Sicker
>            Assignee: Matt Sicker
> As I wonder how to prefix yet another configurable system property, I noticed we have
five families of configuration name prefixes:
> log4j.*
> log4j2.*
> Log4j*
> org.apache.logging.log4j.*
> <no prefix>
> What I'd like to do is strip out all those prefixes and allow any of them, but change
the documentation to use only a single consistent prefix. This would also make it simpler
when writing the properties into a log4j2.component.properties file as you could omit all
the prefixes as they won't clash with other libraries.

This message was sent by Atlassian JIRA

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

View raw message