skills/smithery.ai/api-logging-guidelines

api-logging-guidelines

Installation
SKILL.md

API Route Logging Guidelines

Comprehensive guidance for appropriate use of logging in API routes to maintain clean, useful, and performant logs.


Core Principles

1. Avoid Redundant Logging

DON'T log what's already logged by middleware:

// ❌ BAD - Request details are already logged by middleware
logger.info({ tenantId, projectId }, 'Getting project details');
Installs
1
First Seen
Mar 26, 2026
api-logging-guidelines from smithery.ai