Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-2241

log4j warnings on startup

    XMLWordPrintable

Details

    Description

      When JIRA starts in Tomcat (as in the standalone distro), the first thing it does is print these warnings:

      log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
      log4j:WARN Please initialize the log4j system properly.

      This does not affect subsequent operation, but is annoying and should be fixed.

      The problem arose when JIRA migrated from Tyrex to JOTM. Previously the webapp was responsible for obtaining a JTA implementation, but now it obtains one from the app server. The result of this change is that we now require commons-logging.jar in (and only in) the Tomcat classloader, but the actual logging implementation (log4j) is in the JIRA webapp. Somehow, commons-logging is detecting the presence of log4j, but not finding the log4j.properties file.

      Attachments

        Activity

          People

            7ee5c68a815f Jeff Turner
            7ee5c68a815f Jeff Turner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: