Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-15335

atlassian-greenhopper.log in JIRA 7.2.x does not log any information

    XMLWordPrintable

Details

    Description

      Summary

      atlassian-greenhopper.log in JIRA 7.2.x does not log any information

      Step to reproduce

      1. Setup JIRA 7.2.x
      2. Check $JIRA_HOME/log/atlassian-greenhopper.log

      Expected Result

      This log will log information of anything related to JIRA Software functionality including upgrade history, upgradetask, and error related to JIRA Software.
      Example:

      2018-03-05 00:56:21,715 ThreadPoolAsyncTaskExecutor::Thread 13 INFO      [greenhopper.service.logging.LogSupport]
      
      *********************************************************************************
      Atlassian GreenHopper v7.2.8-DAILY20171106154814 #73360baaf8b0a790 built 2017-11-06T16:54:30.872+01:00 - plugin starting...
      *********************************************************************************
      

      Actual Result

      This log file is empty. It is reproducible for new instance as well as upgraded instance.

      Workaround

      • After each restart set logging INFO for com.atlassian.greenhopper
      • Or add manually logger to atlassian-jira/WEB-INF/classes/log4j.properties file, example for Jira 7.2.12:
        --- atlassian-jira-software-7.2.12-standalone/atlassian-jira/WEB-INF/classes/log4j.properties.orig	2017-10-10 19:53:59.000000000 +0200
        +++ atlassian-jira-software-7.2.12-standalone/atlassian-jira/WEB-INF/classes/log4j.properties	2018-03-05 00:55:07.000000000 +0100
        @@ -242,6 +242,8 @@
         log4j.logger.com.atlassian.jira = INFO, console, filelog, cloudAppender
         log4j.additivity.com.atlassian.jira = false
        
        +log4j.logger.com.atlassian.greenhopper = INFO
        +
        

      Attachments

        Issue Links

          Activity

            People

              ayakovlev@atlassian.com Andriy Yakovlev [Atlassian]
              azuhra Aqqiela
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: