Logging can be useful for the diagnosis of errors with unclear cause and helps us to solve the problem faster. If an error occurs in our add-on, please send us your Jira log file. This How-To describes the steps to create the required log files.
For all of the following procedures, you must be logged in as a user with the Jira Administrators global permission.
Choose :cog_icon: > System.
Select System Support > Logging & Profiling to open the Logging page, which lists all defined log4j categories (as package names) and their current logging levels.
To set the logging level for another package, choose the option to Configure logging level for another package.
Specify the package name: com.mgmtp.jira.plugin.hierarchicalcalculation
and the logging level: DEBUG
Click “Add” to save new log level.
Continue to use Jira to reproduce the error condition. Be sure to perform request activities so that necessary logs are created that will help us to understand what happened.
After sending the file, you should re-open "Logging and Profiling" page and turn logging off for com.mgmtp.jira.plugin.hierarchicalcalculation package or set it to "WARN" (recommended). Excessive logging may affect performance.
Log file location
The "Hierarchical Calculation Field" log output will be added to the
log subdirectory of your Jira application home directory (or elsewhere if you have configured a different location). You can view the location of the
atlassian-jira.log in the 'File Paths' section of the system information page.