Skip to Content

πŸ“‘ Live Logs & Error Monitoring

Automatically detect JavaScript errors, failed API calls, and crashes on your website β€” captured with full diagnostic context and synced to your workflow.


🌟 Overview#

Live Logs is Sniffer’s built-in error monitoring system. Once the Sniffer script tag is installed on your website, it passively monitors for JavaScript errors, unhandled promise rejections, failed network requests, and resource load failures. Detected errors are captured with full context and logged automatically in your project as System Bugs.

Unlike standalone error monitoring tools, Live Logs is fully integrated into Sniffer’s defect tracking pipeline. Detected errors can automatically become issues on your πŸ“‹ Task BoardΒ , get assigned to developers, and sync to πŸ”— JiraΒ  β€” all without manual intervention.

For details on the System Bug list and detail view, see πŸ›°οΈ System Bugs β†’Β . For the CDN-driven capture flow, see πŸ€– Sniffer AutoBug β†’Β .

πŸ–ΌοΈ Insert image of the Live Logs dashboard showing a live stream of incoming errors.


πŸš€ Getting Started#

Prerequisites#

The Sniffer script tag must be installed on your website:

<script src="https://cdn.snifferweb.com/sniffer.js" data-project-id="YOUR_PROJECT_ID" ></script>

Tip: This is the same script that powers the πŸ’¬ Feedback WidgetΒ  and πŸ€– Sniffer AutoBugΒ . One snippet, three features.

βš™οΈ Enable Error Monitoring#

  1. Navigate to βš™οΈ SettingsΒ  within your project.
  2. Enable the Live Logs toggle (isLiveLogEnabled flag).
  3. Configure capture settings and alert thresholds.
  4. Ensure your domain is in the Whitelisted URLs list (🏒 Company Settings ).

πŸ” What Gets Captured#

Error TypeDescriptionContext Captured
πŸ”΄ JavaScript ErrorsUncaught exceptions, syntax errors, runtime errorsFull stack trace, source file, line/column
🟠 Failed API CallsHTTP requests returning 4xx or 5xx status codesURL, method, status code, request/response body, timing
🟑 Unhandled Promise RejectionsAsync errors not caught by application codePromise rejection reason, stack trace
βšͺ Resource Load FailuresFailed script, stylesheet, or image loadsResource URL, type, error details
🟣 CSP ViolationsContent Security Policy violationsBlocked URI, violated directive, source
🟒 Long TasksTasks blocking the main thread > 50msDuration, attribution, source URL

πŸ“± Device Context (Auto-Captured)#

Every error includes:

DataDescription
Operating Systeme.g., macOS 10.15.7
Browsere.g., Chrome 146.0.0.0
Screen Resolutione.g., 1440x900
User AgentFull user agent string
Page URLExact URL where the error occurred
ReferrerPrevious page URL
HardwareCPU cores, memory, platform
LanguageBrowser language and timezone
NetworkOnline/offline, connection type

πŸ“‹ System Bug List#

Route: /sf/projects/:id/system-bugs

All auto-detected errors appear in a filterable list. See πŸ›°οΈ System Bugs β†’Β  for the full UI walkthrough.

πŸ–ΌοΈ Insert image of the System Bug list with severity, count, and last-seen columns.


πŸ› System Bug Detail View#

Route: /sf/projects/:id/system-bugs/:bugId

Click any error to open the detail view with these tabs:

1. ℹ️ Info Tab#

FieldDescription
Error MessageFull error text
Stack TraceComplete JavaScript stack trace with source files and line numbers
Error TypeClassification of the error
Occurrence CountHow many times this error has been detected
First / Last SeenTimestamps
Affected UsersCount of unique users impacted
Affected URLsPages where the error appeared

2. πŸ“Ÿ Console Logs Tab#

ColumnDescription
Level❌ Error, ⚠️ Warning, ℹ️ Info, πŸ”§ Debug β€” color-coded
MessageLog message content (searchable)
TimestampWhen the log was recorded

Shows the first 30 log entries. Logs are filterable by level.

3. 🌐 Network Logs Tab#

ColumnDescription
MethodGET, POST, PUT, DELETE
URLRequest URL
StatusHTTP status code β€” 🟒 2xx, 🟑 3xx, πŸ”΄ 4xx/5xx
TimingRequest duration
BodyExpandable request/response body preview

Shows the first 30 network entries with error highlighting.

4. πŸ’¬ Comments Tab#

Team discussion about the error β€” same comment features as πŸ› Bug DetailsΒ .

5. πŸ”— Linked Tasks Tab#

Link the system bug to related issues on the πŸ“‹ Task BoardΒ . Useful when one error has multiple fix-tasks or is being investigated as part of a broader story.

πŸ–ΌοΈ Insert image of the System Bug detail view with all 5 tabs visible.


βš™οΈ Configuration#

SettingDescription
Auto-Create IssuesAutomatically create a task board issue for each detected error
DeduplicationGroup identical errors into a single entry with occurrence count
Alert ThresholdImmediate, 3+ occurrences, or 10+ before alerting
Ignore PatternsURL patterns or error messages to exclude (e.g., third-party scripts)
Sample RatePercentage of errors to capture (1–100%) β€” useful for high-volume apps
Email NotificationsToggle email alerts for new errors
Slack/Teams NotificationsToggle communication channel alerts
Severity MappingMap error types to severity levels
Source Map URLsOptional β€” upload source maps for un-minified stack traces

πŸ“˜ Live Logs Documentation#

For Support organization projects, a Live Logs Docs page is available in the sidebar under Settings. It provides:

  • Step-by-step script installation guide (with framework examples for React, Vue, Angular, Next.js)
  • Domain whitelisting instructions
  • Configuration best practices
  • Source-map upload guide
  • Troubleshooting tips

πŸ”„ Integration with Task Board#

Auto-detected errors that become issues appear on the πŸ“‹ Task BoardΒ  with:

  • Source indicator: System bug icon distinguishes them from manual bugs
  • Platform field: Set to the detected platform
  • Attachments: Console logs, network logs, and device context attached automatically
  • Jira sync: If πŸ”— Jira integrationΒ  is active, auto-detected issues sync to Jira
  • Affected Files (AI): Auto-suggested file list based on stack trace + repo integration

πŸ“Š Live Feed (Real-Time Stream)#

A WebSocket-backed live feed displays errors as they happen:

  • New errors flow in at the top
  • Click-through to detail view
  • Pause / resume button
  • Filter by URL, error type, severity

πŸ” Permissions#

ActionRequired Permission
πŸ“‘ View live logsLIVE_LOGS.VIEW
βš™οΈ Configure monitoringLIVE_LOGS.CONFIGURE

TopicDescription
πŸ›°οΈ System Bugs β†’Β The system-bug list and detail view
πŸ€– Sniffer AutoBug β†’Β CDN-driven auto-capture pipeline
πŸ“‹ Task Board β†’Β Auto-detected errors become issues on the board
πŸ› Bug Details β†’Β View console/network logs in the Logs tab
πŸ”— Integrations β†’Β Auto-detected errors sync to Jira
πŸ’¬ Feedback β†’Β User-reported bugs complement auto-detected errors
πŸ“Š Dashboard β†’Β Error frequency appears in analytics
🧩 Sniffer for Jira β†’Β View error diagnostics inside Jira

Β© 2026 Your Company