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-1809) Add global configuration environment SPI
Date Sun, 05 Feb 2017 18:47:41 GMT

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

ASF subversion and git services commented on LOG4J2-1809:
---------------------------------------------------------

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.


> Add global configuration environment SPI
> ----------------------------------------
>
>                 Key: LOG4J2-1809
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1809
>             Project: Log4j 2
>          Issue Type: New Feature
>          Components: API
>            Reporter: Matt Sicker
>            Assignee: Matt Sicker
>
> Create a service provider interface for global configuration property sources. Currently,
we support two built in sources: properties loaded from a classpath resource file named "log4j2.component.properties"
and from system properties. This feature will abstract those two sources into an SPI with
default implementations of those two sources as well as environment variables.
> This SPI should be specified through the standard [ServiceLoader|https://docs.oracle.com/javase/8/docs/api/java/util/ServiceLoader.html]
API so as to make this simpler to support for users in any environment.
> Related to LOG4J2-1431.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
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