| ▲ | mrkeen 7 hours ago | |||||||||||||
> Your logs are lying to you. Not maliciously. They're just not equipped to tell the truth. The best way to equip logs to tell the truth is to have other parts of the system consume them as their source of truth. Firstly: "what the system does" and "what the logs say" can't be two different things. Secondly: developers can't put less info into the logs than they should, because their feature simply won't work without it. | ||||||||||||||
| ▲ | 8n4vidtmkvmk 7 hours ago | parent [-] | |||||||||||||
That doesn't sound like a good plan. You're coupling logging with business logic. I don't want to have to think if i change a debug string am i going to break something. | ||||||||||||||
| ||||||||||||||