[ 
https://issues.apache.org/jira/browse/LOG4J2-2674?focusedWorklogId=355574&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-355574
 ]

ASF GitHub Bot logged work on LOG4J2-2674:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Dec/19 04:58
            Start Date: 07/Dec/19 04:58
    Worklog Time Spent: 10m 
      Work Description: rgoers commented on pull request #302: [LOG4J2-2674] 
CompositeConfiguration misleading configuration source
URL: https://github.com/apache/logging-log4j2/pull/302
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 355574)
    Remaining Estimate: 0h
            Time Spent: 10m

> CompositeConfiguration misleading configuration source
> ------------------------------------------------------
>
>                 Key: LOG4J2-2674
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2674
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.8.1
>            Reporter: Anton Korenkov
>            Priority: Trivial
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Sometimes we are using CompositeConfiguration in our code. During last 
> investigation we've found out that configuration source passed during 
> constructor call is 'NULL_SOURCE'. It's a bit confusing because it conflicts 
> with NULL_SOURCE definition 
> {noformat}
>     /**
>      * ConfigurationSource to use with Configurations that do not require a 
> "real" configuration source.
>      */
>     public static final ConfigurationSource NULL_SOURCE = new 
> ConfigurationSource(new byte[0]);
> {noformat}
> because actually we have a 'composite' or 'multiple' configuration sources 
> which will be used later to produce real configuration. 
> The question is: do you mind to create 'COMPOSITE_SOURCE' constant and use it 
> in CompositeConfiguration? 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to