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

ASF GitHub Bot commented on LOG4J2-1301:
----------------------------------------

GitHub user alanachtenberg opened a pull request:

    https://github.com/apache/logging-log4j2/pull/25

    LOG4J2-1301 added optionalMonitorFiles attribute for automatic reconf…

    …iguration

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/alanachtenberg/logging-log4j2 LOG4J2-1301

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/logging-log4j2/pull/25.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #25
    
----
commit eaf383788e8dc8e3592ae39328e92334c699d801
Author: Achtenberg, Alan <[email protected]>
Date:   2016-03-01T23:36:14Z

    LOG4J2-1301 added optionalMonitorFiles attribute for automatic 
reconfiguration

----


> Automatic reconfiguration with xml and xinclude
> -----------------------------------------------
>
>                 Key: LOG4J2-1301
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1301
>             Project: Log4j 2
>          Issue Type: Bug
>    Affects Versions: 2.3
>            Reporter: Alan Achtenberg
>         Attachments: GroupFileConfigurationMonitor.java, 
> MyXmlConfiguration.java, MyXmlConfigurationFactory.java
>
>
> Automatic reconfiguration does not work with xinclude/xml.
> Modifying xinclude files is not detected as a file change on on the main 
> config file and as such it is not reconfigured when updates are made to files 
> included with xinclude (ie. log4j2-appenders.xml).
> Desired functionality would be to also listen for changes of files that are 
> included by main configuration file as well and update the configuration as 
> needed.
> An alternative would be to allow user to specify additional files to monitor 
> for changes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to