Y
Hacker News
new
|
ask
|
show
|
jobs
by
dezzeus
1712 days ago
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.
1 comments
raldi
1712 days ago
We're discussing a NullPointerException situation; how is that not debugging?
link
Leherenn
1712 days 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.
link