How do I provide useful data for performance issue analysis?

Add-on:Scaffolding
Question:How do I provide useful data for performance issue analysis?
Answer:

Since Scaffolding 6.2.3, we have implemented a logging feature which can be useful for troubleshooting performance issues you may have with the Scaffolding add-on.

To help us troubleshoot any performance issues you may have, follow these steps:

  1. Go to the Cog Icon  > General Configuration.
  2. In the sidebar, under Administration, click on Logging and Profiling:



  3. On the Logging and Profiling screen, you will need to Add a New Entry:



    1. Add net.customware.confluence.plugin.scaffolding as a new entry in Class/Package Name.
    2. Set the New Level to DEBUG.
    3. You may also need to enable the debug mode for Confluence if you are using Scaffolding 6.2.3, though this is no longer required starting from Scaffolding 6.2.4.
    4. Ensure there are no preceding or trailing spaces or any other characters in the net.customware.confluence.plugin.scaffolding string.
    5. Click Add entry.
    6. Scroll down and click Save.
  4. Load the page where you are experiencing slow performance with Scaffolding.
  5. Save the log. You can find the log file here: <confluence-installation>/home/logs/atlassian-confluence.log

  6. Contact Support and provide this log file together with the wiki markup and metadata of the affected page.

Removing the Debug Entry

After saving the log file, you may, for any reason, want to disable the logging. Here's how you do it:

  1. Return to the Logging and Profiling screen.
  2. Locate the net.customware.confluence.plugin.scaffolding entry:



  3. Click Remove.
  4. The Debug Entry will also be removed automatically if the Confluence instance is restarted.