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
Open the Chrome browser (recommended), log in to Confluence, and access the problematic page.
Depending on the operating system used, choose the appropriate option as follows:
In Mac, select View > Developer > JavaScript Console from the Chrome menu bar or from the keyboard, press Cmd+Shift+J
In Windows, press the F12 key to open the Developer Tools panel.
Select Network > Disable Cache to prevent caching of resources for this specific page in the Developer Tools panel, as shown below:
Â
Select the Console tab and click the gear icon on the top right to see the available settings:
Â
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:
Now, reproduce the issue that you have initially experienced, with the console still open.
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.