Chapter 14: Logging and Light Observability
14.10 Anti-patterns
| Anti-pattern | Better |
|---|---|
SSH + tail as the only strategy forever |
Local tail for debug; central search for incidents |
Debug print of full auth headers |
Structured logs without secrets |
One giant unrotated file on / |
Rotation + shipping + disk alerts (ch13) |
| "Check the logs" with no time window | IST window + keyword + correlation id |