Skip to Content

Log Files

List SFCC instance logs newest first or by type or prefix in the VS Code Explorer, open or tail them in the Log Center, and clear, compress or unzip them

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

Log Files groups its logs by type or by prefix, or lists them, from its inline buttons or Group Log Files. A group opens or tails its files in the Local Log Center, and each row shows the events found

Where the logs are

Root under InstanceWebDAV folderWhat you can do
Log Files/on/demandware.servlet/webdav/Sites/LogsGroup, 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/SecuritylogsRead 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

Expand Log Files: the files show in one list, newest first, each with its time and size

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

RowReadsMeans
A groupError (3) 4 minutes ago [1.42 MB] · 4,792 eventsFiles in the group, the newest change, their total size and, once parsed, their events
A folderlog_archive 7 days agoWhen it last changed
A fileerror-blade1-4-appserver-20261117.log 4 minutes ago [184.27 KB] · 1,284 eventsLast 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 buttons on the Log Files row show the files in one list, by prefix or by type. The view in use is lit. Expand All and Collapse All open and close every group, from the row's buttons or Group Log Files

The Log Files row shows its view buttons while it's selected or under the pointer. The view in use is lit

ButtonWhat it does
ListShows every file in one list, newest first. The default
Group by TypeGroups the files under Error, Warning, Info, Debug, Services, Jobs, Quota, Archive and Custom, in that order
Group by PrefixGroups the files by the first part of their names, such as customerror or service, A to Z, with Other last
Expand AllOpens every group of Log Files. Shown while the files group
Collapse AllCloses every group of Log Files. Shown while the files group
RefreshLoads 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 -, so service-PayPal-… and service-AddressVerify-… share service. api-deprecation stays 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

Open in Log Center parses the group's files, and the group shows their events. Tail in Log Center keeps reading the files, and their counts grow as the instance writes

Right-click files or a group under Log Files:

ActionWhat it does
Open in Log CenterSwitches 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 CenterDoes 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

Each parsed log shows its events. Clear Log File empties every selected log at once, without asking. Nothing under Log Files offers Delete

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 group the same way, and an archive goes with the log it holds. Its menu offers Open in Log Center and Unzip

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

Compress lists the selected files to confirm, then zips each one beside it, under the group of the log it holds

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:

ActionWhat it does
Download and OpenDownloads a copy and opens it, a .log in the Log File Editor
Save on Local DriveDownloads to a folder you choose
Open in Log CenterParses the files and shows their events
Tail in Log CenterParses the files, then follows their new lines
Clear Log FileEmpties the selected .log files on the instance at once
Open in BrowserOpens the file's WebDAV URL in your browser
CopyCopies the file to paste into another remote folder, see Copy and Paste
Copy Remote PathCopies the full WebDAV URL
Copy to Another InstanceCopies 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:

RowMenu
An archiveDownload 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 groupGroup Log Files, Open in Log Center and Tail in Log Center, with Refresh on the row
Log FilesNew Folder, Refresh, Group Log Files, Open in Browser and Copy Remote Path
A folderNew 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

TypeFilesIcon
Errorerror-*, customerror-*, scapi-timeout-*, and prefixes with error, exception or timeoutRed error mark
Warningwarn-*, customwarn-*, api-deprecation-*, and prefixes with warn or deprecationAmber warning mark. api-deprecation-* files show a text icon
Infoinfo-*, custominfo-*Info
Debugdebug-*, customdebug-*, and prefixes with debugDebug
Servicesservice-*, services-*, the logs of your service callsServices
Jobsjobs-*, and prefixes with jobJobs
Quotaquota-*, and prefixes with quotaQuota
Archive.zip and .gz files. Grouped with the log they holdArchive
CustomEverything else, such as custom-paypal-* from a named loggerText

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

SymptomWhat to do
Delete is missingA 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 fileA 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 namesThe selection you deleted, dragged or renamed holds a log file. Leave it out, or clear it instead
Clear Log File is missingSelect only .log files under Log Files. It isn't offered for folders or archives
Tail in Log Center is missingArchives don't grow, so they only open in the Log Center
Select log files to open in the Log CenterNothing in the selection is a log the Log Center reads. Select .log files or a group
No event counts on the rowsCounts show once the Log Center has parsed the files. Use Open in Log Center
The view buttons don't showThey sit on the Log Files row only. Select or point at that row
A new log is missingClick Refresh on Log Files

On this page