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:
| Shortcut | Filter |
|---|---|
Ctrl+Shift+1 | Errors only |
Ctrl+Shift+2 | Warnings + Errors |
Ctrl+Shift+3 | Info + Warnings + Errors |
Ctrl+Shift+4 | All (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+Fto search through log output - Export - right-click the output channel to save logs to a file