Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dezzeus
· 5y ago · 0 comments
Even though it can be lost by an optimistic configuration, I prefer to use the TRACE level(s) and leave the DEBUG one for, well, debugging.
Comments
[–]
raldi
5y ago
We're discussing a NullPointerException situation; how is that not debugging?
[–]
Leherenn
5y ago
I think OP's case was not debugging a crash, just that if a crash happens he would like the log to be before rather than after. The log statements would be there no matter whether there is a crash or not, just in case.