Live Logs and Server Logs

View as Markdown
Intermediate5 min readLast updated August 21, 2026

Contentstack Launch provides two views for inspecting the runtime server logs generated by your deployment:

  • Live Logs: A real-time streaming view
  • Server Logs: A historical on-demand view

Both are available in the Logs section on the deployment detail page and share the same Search and Source filters.

Note This document does not cover Deployment Logs, which show output from the build and deploy pipeline. Refer to the Deployments documentation for details on Deployment Logs.

Prerequisites

What You Will Learn

  • The difference between Live Logs and Server Logs.

  • How to start, view, pause, and end a Live Logs streaming session.

  • How to view, load, and filter Server Logs.

  • The limits that apply to each view.

Live Logs

The Live Logs feature in Contentstack Launch streams runtime server logs from your deployed application in real time. These are the logs your application emits as it handles requests, distinct from the Deployment Logs generated by the build and deploy pipeline.

Use Live Logs to watch output as it is generated, for example, when reproducing a runtime issue. Each session runs for a maximum of 5 minutes and ends automatically, after which the captured entries remain available in Server Logs.

Start a Live Logs Session

To start a Live Logs session, follow the steps below:

  1. Open the deployment you want to monitor.
  2. Under Logs, select the Server Logs view.
  3. Click the Live Log Capture button at the top right of the toolbar.
    Click to enlarge

Before any entries arrive, the log panel displays Waiting for logs…. Entries begin streaming into the panel as soon as your application produces log output.

Click to enlarge

View Streaming Logs

Log entries appear in the panel as they are generated. Each entry shows its source (Origin or Edge) and includes a timestamp accurate to the millisecond (HH:mm:ss.SSS). A countdown badge in the toolbar (for example, Live · 0:46) shows how much time remains in the current session.

Click to enlarge

Note Only the most recent 1,000 log lines are visible at a time; earlier lines are no longer displayed.

Pause, Resume, or End a Session

The toolbar provides three controls while a session is active:

  • Clear logs: Clears the entries currently displayed. New entries continue to stream in.
  • Pause logs: Freezes the display. The session continues to capture entries in the background. The badge switches to Paused · [time remaining], and a message above the panel shows how many entries have arrived. For example: Paused: 103 new logs received. Resume to view. Click Resume to reveal them and continue streaming.
    Click to enlarge
  • End Session: Ends the session immediately after a confirmation.

Filter Live Logs

Live Logs supports two filters:

  • Search: Filters entries by log message text.
  • Source: Origin, Edge, or both. At least one source must remain selected.

Session Duration and Auto-End

A Live Logs session ends automatically after 5 minutes. The panel then freezes as a snapshot, and a banner appears with two options:

  • View server logs: Switches to Server Logs, where the captured entries remain visible alongside the historical logs.
  • Keep viewing snapshot: Keeps the frozen snapshot in the panel for review.
    Click to enlarge

Note To keep monitoring beyond 5 minutes, start a new session by clicking Live Log Capture again, or switch to Server Logs and refresh manually.

Leaving the Page During a Live Logs Session

If you try to navigate away while a Live Logs session is active, an End Live Session? dialog appears, showing how much time is left in the session (for example, 3:37 still remaining).

  • Continue Live: Cancels the navigation and keeps you in the session.
  • End Session: Confirms the navigation and ends the session.
    Click to enlarge

Refreshing the Page During a Live Logs Session

Refreshing your browser while a Live Logs session is ongoing ends the session automatically. The entries generated during that period are preserved and remain accessible for review within the Server Logs section.

Server Logs

Server Logs in Contentstack Launch allows developers to inspect historical runtime server logs on demand. Use it to investigate an issue after it has occurred, or to look back over recent activity. Server Logs is the default view under Logs and does not auto-refresh. To see new entries, refresh manually or use Live Log Capture for real-time streaming.

View Server Logs

To view Server Logs for a deployment, follow the steps below:

  1. Open the deployment you want to inspect.
  2. Under Logs, select the Server Logs view (the default).
    Click to enlarge

A banner at the top reminds you that Server Logs does not auto-refresh: Server logs no longer auto-refresh. Refresh manually to load new entries, or use Live Log Capture for real-time streaming.

Load Older and Newer Logs

Server Logs loads entries in batches of 200. Each load adds 200 entries at one end of the list and removes 200 entries from the opposite end, so the visible list stays a manageable size.

  • Load previous logs: Located above the log list. Adds the 200 older entries immediately preceding the currently displayed range, and removes 200 entries from the bottom.
    Click to enlarge
  • Load new logs: Located below the log list. Adds the 200 newer entries generated since the last load and removes 200 entries from the top.
    Click to enlarge
  • Refresh: A toolbar control that reloads the current view.
    Click to enlarge

Filter Server Logs

Server Logs supports three filters:

  • Search: Filters entries by log message text.
  • Source: Origin, Edge, or both. At least one source must remain selected.
  • Limit: Maximum rows displayed: 500 (default), 1,000, 3,000, or 5,000.
    Click to enlarge

Note Additional icons above the log list let you jump to the top or bottom of loaded entries and copy the visible logs.

Loading, Empty, and Error States

Server Logs display a distinct state for each outcome:

  • Loading: A loading indicator appears while the panel fetches entries.
  • Empty: When no entries match the current filters, the panel shows No server logs to show at the moment.
  • Error: When a fetch fails, a distinct error message appears. So a failed refresh is never confused with a genuinely empty log list.

Switch to Live Logs from Server Logs

To start monitoring in real time, click Live Log Capture in the toolbar. This starts a new Live Logs session for the same deployment. Entries captured during the session remain visible in Server Logs after the session ends.

Limits

Live Logs

  • A session runs for a maximum of 5 minutes.

Server Logs

  • Maximum lookback of 24 hours. To retain logs beyond this window, configure a Log Target.
  • Maximum of 5,000 rows per view.
  • Does not auto-refresh.