/
Logging
Logging
9 Logging Best Practices
- KNOW YOUR AUDIENCES
- HAVE A CONSISTENT STRUCTURE ACROSS ALL LOGS.
- UNDERSTAND METRICS.
- REPORTING ALERTS AND EXCEPTION HANDLING.
- USE LOG SEVERITY LEVELS.
- ALWAYS PROVIDE CONTEXT.
- CHOOSE A GOOD LOGGING FRAMEWORK AND USE ITS ADVANCED FEATURES.
- WRITE STRUCTURED LOGS (SOMETIMES)
- LOG AND LOG OFTEN