logging
SKILL.md
Logging Guidelines
Structured logging best practices for Java and Node.js applications.
⚠️ CRITICAL: What NEVER to Log
Logging sensitive data is a security breach. Never log:
Authentication & Credentials
// ❌ NEVER DO THIS - Passwords
log.info("User login: email={}, password={}", email, password);
// ❌ NEVER DO THIS - Tokens
log.debug("JWT Token: {}", jwtToken);
log.info("Authorization: {}", request.getHeader("Authorization"));
// ❌ NEVER DO THIS - API Keys
log.error("API call failed with key: {}", apiKey);