sfcc-logging

Community

Improve SFCC script observability with logging.

Authortaurgis
Version1.0.0
Installs0

System Documentation

What problem does it solve?

SFCC developers often struggle to troubleshoot issues across scripts without a standardized logging approach. This guide provides a structured way to implement and use SFCC's Logger and Log APIs, improving observability and debuggability across cartridges.

Core Features & Use Cases

  • Static logging with dw/system Logger for quick, global messages.
  • Instance-based logging with Logger.getLogger and Log for categorized, context-rich messages.
  • Nested Diagnostic Context (NDC) to correlate related log entries.
  • Custom named log files and per-category settings guided by Business Manager configuration.
  • Best practices, category strategies, and safe handling to avoid exposing sensitive data.

Quick Start

Follow the guidelines to instrument your SFCC cartridges with Logger and Log-based logging, and begin using categories and NDC today.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sfcc-logging
Download link: https://github.com/taurgis/sfcc-dev-mcp/archive/main.zip#sfcc-logging

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.