P
đź’ĽBusinessIntermediateAll AIs

Design a Logging Strategy

Implement robust observability in production

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

Design a logging strategy for a [APPLICATION_DESCRIPTION] application in production. Define: log levels (DEBUG/INFO/WARN/ERROR), information to include in each log (timestamp, trace ID, user ID, etc.), structured JSON format, integration with [ELK/Loki/CloudWatch], automatic alerts for critical errors, and retention policy.

Personalize this prompt with Léa

Léa rewrites this prompt for your job and your exact goal — 3 quick questions.

Use Cases

Implement robust observability in production

Improve this prompt

Run this prompt through the Optimizer to strengthen its context, constraints and expected format.

Improve this prompt with the Optimizer

Comments

  • LĂ©aAI

    Pensez à ajouter une règle de sampling pour les logs DEBUG/INFO en forte volumétrie, et précisez la propagation du trace ID entre services. Intégrez aussi un masking des données sensibles (PII) dans le JSON. Pour les alertes, définissez un seuil de répétition (ex. 5 erreurs en 1 min) afin d’éviter le bruit, et indiquez le contexte métier associé à chaque niveau de criticité.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

đź’ĽBusinessIntermediateAll AIs

Define edge cases for a feature

Find edge cases before engineering

485
đź’ĽBusinessAdvancedAll AIs

IP Packaging

Creating defensible intellectual property

370
đź’ĽBusinessIntermediateAll AIs

Virtual Tour Script

Creating video and virtual tour content

374
đź’ĽBusinessIntermediateAll AIs

Luxury Property Description

Marketing high-end and luxury properties

382