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

Automatic reconfiguration with xml and xinclude

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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. MyXmlConfigurationFactory.java
          0.8 kB
          Alan Achtenberg
        2. MyXmlConfiguration.java
          4 kB
          Alan Achtenberg
        3. GroupFileConfigurationMonitor.java
          4 kB
          Alan Achtenberg

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Alan Achtenberg Alan Achtenberg

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Issue deployment