Production Debugging
Stop guessing. Stream production logs in real time and enable per-user debugging without redeploying.
>_ the problem
>_ why traditional tools fall short
- $Adding more logging to production requires a code change, CI build, and deployment, turning a 5-minute investigation into a 30-minute round trip.
- $Error tracking tools show you the exception stack trace but not the chain of events that led to it, leaving you to guess at root causes.
- $APM tools provide performance metrics and traces but lack the granular log-level detail needed to debug data-dependent logic errors.
- $Server-side log files require SSH access, knowledge of which server handled the request, and proficiency with grep and awk to extract useful information.
>_ how logmonitor solves this
Live Console
Stream production logs in real time directly in your browser. See errors, warnings, and info logs as they happen. No SSH, no file tailing, no grep.
Log Switch
Enable verbose logging for a specific user from your dashboard. No code changes, no redeployment. The user retries the action and you see exactly what happened in their session.
Zero Clutter
Production logs are clean and searchable with structured metadata. Filter by user, timestamp, severity, or any custom field to find the needle in the haystack.
Instant Setup
If you are not already using LogMonitor, you can add it and deploy once. From that point on, you never need to redeploy to change your logging level or enable debugging for a specific user.
>_ quick setup
import { logmonitor } from 'logmonitor-js';logmonitor.init({ apiKey: 'your-api-key' });// The SDK auto-patches console.log/info/warn/error/debug// Logs are only sent in production (process.env.NODE_ENV === 'production')console.log('App started', { version: '1.0.0' });>_ pricing for this use case
Live Console and Log Switch are available on all plans. For production debugging with sufficient log volume and retention, the Pro plan at $19/mo with 1 million logs and 30-day retention is recommended.
View all plans →>_ frequently asked questions
Yes. Use Log Switch from the LogMonitor dashboard to enable verbose logging for any identified user. The SDK picks up this change automatically. Ask the user to retry the failing action and their detailed logs will stream into your Live Console in real time.
Logs appear within seconds. The SDK batches entries for efficiency but delivers them near-instantly, so you can follow a user's session in real time during an active incident.
Start by adding console.log calls at key decision points: API calls, database queries, authentication steps, and error handlers. The SDK auto-patches console methods, so you don't need to learn a new API. Targeted logging at critical junctions gives you enough context to diagnose most production issues.
Absolutely. LogMonitor complements tools like Sentry and Bugsnag. Those tools capture the exception; LogMonitor gives you the full story of what happened before, during, and after the error.
All logs within your retention window are fully searchable. On the Pro plan you have 30 days of retention, so you can search for any user's logs from the past month and reconstruct what happened.
Yes. The SDK works in any JavaScript runtime, including AWS Lambda and Vercel serverless functions. You can also use the HTTP API to send logs from non-JavaScript serverless environments.