Skip to main content
When a user reports a bug, your developers often need to know what was happening in the browser at that moment — not just what the user saw, but what errors or warnings were firing underneath. Console log capture solves this by recording the browser’s console output and attaching it to the ticket at the moment the user submits feedback. Your developers get the logs without asking the user to open DevTools and copy anything manually.

Enabling console log capture

1

Open Settings → Widget

In your NOCK Dashboard, click Settings in the sidebar and select the Widget tab.
2

Enable Console Log Capture

Find the Console Log Capture toggle and switch it on.
3

Select the log levels to capture

Choose which severity levels NOCK should collect. See the log levels section below for guidance on which to enable.
4

Save your changes

Click Save. Console logs will be attached to all tickets submitted from this point onward.

Log levels explained

NOCK can capture four log levels. You can enable any combination of them.
LevelWhat it capturesWhen to enable it
Errorsconsole.error(...) calls and unhandled JavaScript exceptionsAlmost always — errors are the most actionable for debugging
Warningsconsole.warn(...) callsRecommended — warnings often signal deprecated APIs or near-failure states
Infoconsole.info(...) and console.log(...) callsUseful if your app emits structured info logs you’d want to trace
Verboseconsole.debug(...) and verbose-level outputOnly enable if you need deep tracing — this can produce a lot of data
Start with Errors and Warnings only. You can add Info later if you find that error-level output alone doesn’t give your team enough context.

Privacy considerations

Console log capture records everything your application writes to the browser console at the enabled log levels. Before turning this on, review what your codebase logs.
Do not log sensitive data — such as authentication tokens, passwords, personal user information, or payment details — to the browser console. If your application currently logs any of this, sanitize those log statements before enabling console log capture in NOCK.
Captured logs are stored as part of the ticket and are visible to anyone in your project who can view tickets. Treat them with the same care as any other user-submitted data.

How logs appear in the Dashboard

When you open a ticket that has console logs attached, a Console Logs section appears in the ticket detail panel. Each log entry shows:
  • The log level (Error, Warning, Info, Verbose)
  • The log message
  • A timestamp relative to when the widget was opened
You can scroll through the log list or search within it to find the entry most relevant to the reported issue.

Disabling or limiting console log capture

To turn off console log capture entirely, go to Settings → Widget, toggle Console Log Capture off, and save. No logs will be collected on future submissions. To reduce the volume of data collected without fully disabling the feature, return to the log levels selector and uncheck the levels you no longer need — for example, turn off Info and Verbose while keeping Errors and Warnings.

Screenshots and Images

Learn how users can attach screenshots alongside console logs.

Configure the Widget

Review all widget settings in one place.