logging-best-practices
CommunityWrite better logs, debug faster.
Software Engineering#best practices#debugging#logging#observability#structured logging#application monitoring
AuthorFaisalAlqarni
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenge of insufficient context and correlation in application logs, making debugging and incident investigation difficult and time-consuming.
Core Features & Use Cases
- Structured Logging: Enforces the "wide event" pattern for rich, context-aware log entries.
- Contextual Data: Guides on including essential fields like
request_id,duration_ms, andstatus. - Use Case: When a production error occurs, easily filter logs by
request_idto see the entire lifecycle of the problematic request, including user context, operation details, and error class, all within a single log entry.
Quick Start
Apply the logging best practices to ensure all requests generate a single, context-rich log event.
Dependency Matrix
Required Modules
None requiredComponents
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: logging-best-practices Download link: https://github.com/FaisalAlqarni/sp-ecc/archive/main.zip#logging-best-practices Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.