Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1301

Automatic reconfiguration with xml and xinclude

VotersStop watchingWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.3
    • None
    • None
    • None

    Description

      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.

      Attachments

        1. GroupFileConfigurationMonitor.java
          4 kB
          Alan Achtenberg
        2. MyXmlConfiguration.java
          4 kB
          Alan Achtenberg
        3. MyXmlConfigurationFactory.java
          0.8 kB
          Alan Achtenberg

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            Alan Achtenberg Alan Achtenberg
            Votes:
            0 Vote for this issue
            Watchers:
            5 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m

                Slack

                  Issue deployment