Logging best practices

From Mindrally/skills · View interactive version

Logging best practices is an AI agent skill from the GitHub repository Mindrally/skills. Logging best practices for applications and services including structured logging, log levels, and log management strategies

How to use this skill

Skill file

Logging Best Practices

Apply these logging principles to ensure effective debugging, monitoring, and audit capabilities across applications and services.

Structured Logging

Standard Log Fields

Include these fields in every log entry:

Log Levels

Use appropriate log levels consistently:

Context Propagation

Security and Privacy

Performance Considerations

Log Aggregation

Error Logging

Best Practices

Log Message Guidelines

Environment-Specific Configuration

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.