Log Streaming

Real-time sandbox log monitoring in VS Code

Stream SFCC sandbox logs in real time directly into VS Code's integrated terminal or a dedicated output channel.

Starting Log Stream

Open Command Palette

Press Ctrl+Shift+P and run SFCC: Start Log Streaming.

Select Log Types

Choose which logs to stream from the quick pick menu - error, debug, warn, or all.

View Logs

Logs appear in a dedicated Output channel called "Intellij SFCC Logs".

You can also start streaming from the sidebar by clicking the Play icon in the Logs section.

Log Types

custom-error logs capture:

  • Script exceptions and errors
  • Logger.error() output
  • Template rendering failures

custom-debug logs capture:

  • Logger.debug() output
  • Detailed execution traces
  • Request/response details

custom-warn logs capture:

  • Logger.warn() output
  • Deprecation notices
  • Performance warnings

System logs capture:

  • Job execution results
  • Replication events
  • Platform-level errors

Filtering

Quick Filters

Use the filter icon in the Output channel toolbar or keyboard shortcuts:

ShortcutFilter
Ctrl+Shift+1Errors only
Ctrl+Shift+2Warnings + Errors
Ctrl+Shift+3Info + Warnings + Errors
Ctrl+Shift+4All (including Debug)

Regex Filter

Set a custom filter pattern in settings:

{
  "intellijsfcc.logs.filter": "OrderMgr|PaymentProcessor"
}

Log entries are color-coded by severity in the output channel. Clickable file paths let you jump directly to the source.

Log Features

  • Clickable paths - script file paths in log entries are clickable links to your local files
  • Stack trace navigation - click stack trace frames to jump to the source line
  • Auto-scroll - automatically scrolls to the latest entry (toggle with the pin icon)
  • Search - use Ctrl+F to search through log output
  • Export - right-click the output channel to save logs to a file

On this page