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

JIRA logs same message twice into logs and Console

XMLWordPrintable

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary

      JIRA logs same message twice (duplicated) into:

      • atlassian-jira.log
      • Console: catalina.out at Linux and stdout.log at Windows

      Snippet from atlassian-jira/WEB-INF/classes/log4j.properties

      log4j.logger.com.atlassian = WARN, console, filelog
      log4j.additivity.com.atlassian = false
      

      Expected Results

      Log messages are logged only once where it's relevant.

      Actual Results

      Log messages are logged twice. There are 2 problems caused by this:

      • Double the logging, so system can running out of space.
      • Console doesn't log rotated by JIRA, so it needs to be done by user. At windows this is not a simple task.

      Notes

      (Optional - If Necessary)

      Workaround

      TBD

            Unassigned Unassigned
            ayakovlev@atlassian.com Andriy Yakovlev [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: