Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


It is possible to get more information by turning on the debug logging mode.

...

Turning on debug mode

To turn on the debugging mode,

...

  1. Go to Settings > System >  Logging and profiling
    Image RemovedImage Added

  2. Scroll down to the  the Default Loggers  section  section and click on  on Configure
    Image RemovedImage Added

  3. Add the Package name of the plugin and set it's Logging Level to  DEBUG
    Image Removed
    to DEBUG, e.g. com.akelesconsulting.jira.plugins.customfield.TrafficLightCFType
    Image Added


Turning off debug mode


You may turn off the debug logging after you replicated the steps by

  1. Go back to  to Logging and profiling  and  and look for the package name in the list
  2. Click on the OFF  in  in the Set Logging Level to disable the logging
    Image RemovedImage Added

Getting the log files

...

The logs are written to a file called atlassian-jira.log which in located in the JIRA Jira Home directory.

If you are unsure of the location, you can find it from the System Info page

  1. Go to Settings > System > System Info, under File Paths section, check out 

...

  1. Image Added

Annotating the logs

...

While replicating the issue, you can also mark the logs 

  1. Go to Settings > System > Logging and profiling > Mark Logs (<baseURL>/secure/admin/ViewLogging.jspa)
  2. Fill in "replication starts here" to Optional Message and then click on the Mark button
  3. Replicate the problem 
  4. Fill in "replication ends here" to Optional Message and then click on the Mark button again

Image Added


References

...