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

Remove use of the ConfigurationMonitor in favor of the WatchManager

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      None

      Description

      Currently the ConfigurationMonitor is called during each log event to determine whether the configuration file has changed. The actual check is only done periodically but there is some overhead to determine if the check should be performed.

      The FileWatcher runs as a scheduled task. As such, monitoring the configuration file will remove the overhead of calling the ConfigurationMonitor on each log event.

        Attachments

          Activity

            People

            • Assignee:
              ralph.goers@dslextreme.com Ralph Goers
              Reporter:
              ralph.goers@dslextreme.com Ralph Goers
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: