Logs are a great source of information to help understand component behavior. There may be times when you are asked to provide logs.
Browser console logs – Useful for error messages and for some additional details in verbose logs
Collecting Browser Console Logs
Before obtaining browsers logs (or console logs) from Chrome or Firefox, enable timestamps on your browser. This helps synchronize client and server timings.
Enabling timestamps and preserving logs upon navigation
Using Chrome
- From the menu bar click View > Developer > Developer Tools.
- Click the Customize and control Dev Tools button (3 vertical dots)
- Click Settings
- Under Preferences > Console tick the following check boxes:
- Log XML HTTPRequests
- Show timestamps
- Preserve log upon navigation
Using Firefox
- From the menu bar click Tools > Web Developer > Toggle Tools
- Click Customize Developer Tools and Get Help
- Click Settings (The cog button)
- Tick the following check boxes:
- Enable timestamps
To collect console logs on Chrome or Firefox
- Open the Developer Tools
- Perform the steps of the scenario to capture.
- Depending on your browser:
- Right click > Save as (notepad text file).
- Right Click > Select All, Right click > Copy.
- Paste that into a text file.
- Send the text file or report the same through customer support contacts.