Logging hot take: No two lines of code should emit the same logging message.

@preinheimer the only argument i've heard for it was people claiming security via obscurity. if the correct error isn't logged it can't be traced by malicious entry. they learned it from the idea that login errors should not tell you if the user or pass was wrong, just that something was, and thinks it applies to everything.

its one of the dumbest arguments anyone has ever presented to me that wasn't defending psr.

@preinheimer I was taught early in my career to always emit a unique message so you can identify where the error is coming from. No advice about what should be in it, just make sure it's unique!