Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-3825

Remove loading of module specific log4j configuration files

    XMLWordPrintable

    Details

    • Complexity:
      Low

      Description

      WebModuleUtil.startModule loads log4j.xml files from modules (line 112):

      if (mod.getLog4j() != null)

      { DOMConfigurator.configure(mod.getLog4j().getDocumentElement()); }

      This should be removed as modules should not be able to re-configure logging:

      • Configuration should happen at an administrative rather than development level
      • Module specific configuration files often break the default logging of core
      • There's a LogManager module for this

        Attachments

          Activity

            People

            Assignee:
            k.joseph Kaweesi Joseph [X] (Inactive)
            Reporter:
            rowanseymour Rowan Seymour [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Time Spent - 30 minutes Remaining Estimate - 3 hours, 30 minutes
                3h 30m
                Logged:
                Time Spent - 30 minutes Remaining Estimate - 3 hours, 30 minutes
                30m