I just landed in a new code base. Working to ensure that the application runs locally, I noticed that I was just getting single-line characters for errors in the log and console output — no stack traces. I started searching for the code, and the only thing I could find was an exception message. The same goes for the exception chain: only the message was saved. I mentioned this to the sole developer of the project and asked if it was an intentional design decision. The answer was, in particular: "I do not think that we learn much from [logging stack traces]."
From the years of Java development, I know how valuable stack traces are: they tell you which line the exception occurred on, and you can track how you got there. You read the stack trace and the corresponding code, and probably enough to solve 80% (NB: statistics have no statistical support) of the errors you encounter.
I am not looking for arguments about what to do with the magazine or when - this is not a question, and it was considered elsewhere. In fact, it just seems to me such a fundamental thing that I never thought about how to explain it, except that "trace tracks show you where the error was." I was hoping I could quickly find a quote from Efficient Java or the like, but Google hasn’t found anything yet.
Any suggestions from reputable, compelling sources to describe why you should pay attention to stack traces?
source share