Log Files lists an instance's logs under its connection in the Intellij SFCC Explorer, newest first. Group them by type or prefix, open one in the Log File Editor, send a group to the Log Center to parse or tail, and clear logs before you reproduce a problem
Where the logs are
| Root under Instance | WebDAV folder | What you can do |
|---|---|---|
| Log Files | /on/demandware.servlet/webdav/Sites/Logs | Group, read, open and tail in the Log Center, clear, copy, compress and unzip, and rename folders and archives |
| Security Log Files | /on/demandware.servlet/webdav/Sites/Securitylogs | Read and download. Not grouped and not part of the Log Center |
Under Log Files, the platform keeps zipped older days in log_archive. For the other root folders, see B2C WebDAV Explorer
Open Log Files
Click Intellij SFCC in the Activity Bar, expand the connection, then Instance and Log Files. The files load from the instance and show in one list, newest first
| Row | Reads | Means |
|---|---|---|
| A group | Error (3) 4 minutes ago [1.42 MB] · 4,792 events | Files in the group, the newest change, their total size and, once parsed, their events |
| A folder | log_archive 7 days ago | When it last changed |
| A file | error-blade1-4-appserver-20261117.log 4 minutes ago [184.27 KB] · 1,284 events | Last change, size and, once parsed in the Log Center, its events |
Click Refresh on Log Files, a folder or a group to load new files and sizes
Group the files
The Log Files row shows its view buttons while it's selected or under the pointer. The view in use is lit
| Button | What it does |
|---|---|
| List | Shows every file in one list, newest first. The default |
| Group by Type | Groups the files under Error, Warning, Info, Debug, Services, Jobs, Quota, Archive and Custom, in that order |
| Group by Prefix | Groups the files by the first part of their names, such as customerror or service, A to Z, with Other last |
| Expand All | Opens every group of Log Files. Shown while the files group |
| Collapse All | Closes every group of Log Files. Shown while the files group |
| Refresh | Loads the folder again |
- Each workspace keeps its own choice, for every connection
- Right-click Log Files, one of its folders or a group for the same views under Group Log Files. On Log Files and its folders, it also has Expand All and Collapse All for that folder
- Folders come first, then files newest first, alone or inside each group
- The prefix is the text before the first
-, soservice-PayPal-…andservice-AddressVerify-…share service.api-deprecationstays whole - The Log Center Files tab has its own filters, see Pick log files
Read a log
Click a file, or right-click it and choose Download and Open. A .log opens in the Log File Editor, where you filter its unique events and read each stack trace. Save on Local Drive downloads to a folder you choose instead
Open or tail in the Log Center
Right-click files or a group under Log Files:
| Action | What it does |
|---|---|
| Open in Log Center | Switches the Log Center to the connection's instance, opens Local Log Center on Files and parses the files. Each file in the tree then shows its events, and each group their sum |
| Tail in Log Center | Does the same, then keeps reading the files as the instance writes, so their counts grow. Archives only parse: Archived logs are complete, so they open in the Log Center without tailing |
Each file moves through Preparing queue, Downloading, Parsing and Parsed, or Tailing, in the State column. See Tail, Parse, or Parse & Tail and Follow tasks in Monitor
Several logs at once
Cmd-click on macOS, or Ctrl-click on Windows and Linux, to select more logs, or Shift-click for a range. Right-click one of them for a menu that acts on all of them:
- Open in Log Center and Tail in Log Center parse or tail them together
- Clear Log File empties them at once, without asking, with 📄 Clearing logs progress. Each then reads
less than a minute ago [0 Bytes] - Compress (create zip archive) lists them to confirm first, see Compress logs
Folders and archives
Folders under Log Files group the same way as the files. In log_archive, an archive such as error-blade1-4-appserver-20261110.log.zip groups with the log it holds, under Error or error, and keeps its archive icon
- Group Log Files › Expand All on a folder opens that folder's groups only
- An archive's menu has Open in Log Center, which parses it like a log, Compress (create zip archive) and Unzip. It has no Tail in Log Center, as archives don't grow, and no Clear Log File
- Unzip unpacks the archive in place on the instance, with Unzipping progress
- Nothing under Log Files offers Delete: the instance keeps its logs, folders and archives. A log file in a selection you delete, or drag to another folder, stops it with Log files can't be deleted or Log files stay in their folder, and nothing changes. A log file's menu has no Rename either
Compress logs
Right-click one or more logs and choose Compress (create zip archive). 📦 Confirm items you want to compress lists each file with its size and folder, all checked. Clear the ones to leave out, then press Enter or click OK. Zipping shows progress, and each .zip appears beside its file, under the group of the log it holds
Clear logs
Clear a log before you reproduce a problem so it holds only the new lines. The instance writes into its log files where they are: a log file that is deleted, moved or renamed records nothing until the instance creates a new one the next day. So clearing empties it to 0 bytes and leaves it in place
Select the logs
Select one or more .log files under Log Files, no folders or archives
Clear them
Right-click and choose Clear Log File. The files are emptied right away and Log Files refreshes
Reproduce and read
Run the request again, then open the log
Clearing can't be undone
The old lines are gone from the instance, and there is no confirmation. Use Save on Local Drive, or Open in Log Center to keep them on your machine, before you clear
Log file actions
Right-click one or more log files:
| Action | What it does |
|---|---|
| Download and Open | Downloads a copy and opens it, a .log in the Log File Editor |
| Save on Local Drive | Downloads to a folder you choose |
| Open in Log Center | Parses the files and shows their events |
| Tail in Log Center | Parses the files, then follows their new lines |
| Clear Log File | Empties the selected .log files on the instance at once |
| Open in Browser | Opens the file's WebDAV URL in your browser |
| Copy | Copies the file to paste into another remote folder, see Copy and Paste |
| Copy Remote Path | Copies the full WebDAV URL |
| Copy to Another Instance | Copies the file to another connection's instance, see Copy to Another Instance |
| Compress (create zip archive) | Zips each file into a .zip beside it on the instance |
The other rows under Log Files have their own menus:
| Row | Menu |
|---|---|
| An archive | Download and Open, Save on Local Drive, Open in Log Center, Rename, Open in Browser, Copy, Copy Remote Path, Copy to Another Instance, Compress (create zip archive) and Unzip |
| A group | Group Log Files, Open in Log Center and Tail in Log Center, with Refresh on the row |
| Log Files | New Folder, Refresh, Group Log Files, Open in Browser and Copy Remote Path |
| A folder | New Folder, Refresh, Group Log Files, Download and Open, Save on Local Drive, Rename, Open in Browser, Copy, Copy Remote Path, Copy to Another Instance and Compress (create zip archive) |
Types and icons
A file's type, group and icon come from its name: first the part before the first -, then words in it
| Type | Files | Icon |
|---|---|---|
| Error | error-*, customerror-*, scapi-timeout-*, and prefixes with error, exception or timeout | Red error mark |
| Warning | warn-*, customwarn-*, api-deprecation-*, and prefixes with warn or deprecation | Amber warning mark. api-deprecation-* files show a text icon |
| Info | info-*, custominfo-* | Info |
| Debug | debug-*, customdebug-*, and prefixes with debug | Debug |
| Services | service-*, services-*, the logs of your service calls | Services |
| Jobs | jobs-*, and prefixes with job | Jobs |
| Quota | quota-*, and prefixes with quota | Quota |
| Archive | .zip and .gz files. Grouped with the log they hold | Archive |
| Custom | Everything else, such as custom-paypal-* from a named logger | Text |
Logger.error and Logger.warn from dw/system/Logger write to the customerror and customwarn files. A named logger, such as Logger.getLogger('paypal', 'checkout'), writes custom-paypal-…, under Custom
Troubleshooting
| Symptom | What to do |
|---|---|
| Delete is missing | A deleted log file records nothing until the instance creates a new one the next day, so nothing under Log Files is deleted. Clear log files instead, and leave folders and archives to the platform |
| Rename is missing on a log file | A renamed log file records nothing until the instance creates a new one the next day. Download it to keep a copy |
| Log files can't be deleted, Log files stay in their folder or Log files keep their names | The selection you deleted, dragged or renamed holds a log file. Leave it out, or clear it instead |
| Clear Log File is missing | Select only .log files under Log Files. It isn't offered for folders or archives |
| Tail in Log Center is missing | Archives don't grow, so they only open in the Log Center |
| Select log files to open in the Log Center | Nothing in the selection is a log the Log Center reads. Select .log files or a group |
| No event counts on the rows | Counts show once the Log Center has parsed the files. Use Open in Log Center |
| The view buttons don't show | They sit on the Log Files row only. Select or point at that row |
| A new log is missing | Click Refresh on Log Files |