How to capture JavaScript console logs

This article explains how to get JavaScript console logs. These logs help the Support team to understand why a software app is encountering an issue.

Instructions

  1. Open the Chrome browser (recommended), log in to Confluence, and access the problematic page.

  2. Depending on the operating system used, choose the appropriate option as follows:

    1. In Mac, select View > Developer > JavaScript Console from the Chrome menu bar or from the keyboard, press Cmd+Shift+J

    2. In Windows, press the F12 key to open the Developer Tools panel.

  3. Select Network > Disable Cache to prevent caching of resources for this specific page in the Developer Tools panel, as shown below:

     

  4. Select the Console tab and click the gear icon on the top right to see the available settings:

     

  5. Make sure the Hide network option is unchecked, whilst Log XMLHttpRequests is checked, and click the Clear console button (as shown below) to clear out any existing logs from the console:

  6. Now, reproduce the issue that you have initially experienced, with the console still open.

  7. Right-click anywhere in the console area, select Save as to save the log file to your computer, and share it with the Support team.