Types
Levels / Severity
- DEBUG
- INFO
- WARNING
- ERROR / CRITICAL
Rules
- Donβt log sensitive information, e.g. social security number, credit card numbers, passwords etc.
Best practices
- Just because something can be logged, doesnβt mean it should be.
- Log communication with 3rd party components.