Should errors maybe be logged at error
level?
#270
dogweather
started this conversation in
General
Replies: 1 comment
-
Yes, agree. It's a good idea to have it on the error level. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This was a tricky one for me to track down. I was getting just these logs but no actual output:
...and nothing else. My logging level was at
info
. Since that would display any logs at a higher severity (warn
,error
, etc.), I couldn't understand what was happening. It took me a while to realize I had an error (!) and then another while to figure out how to see the error.It turns out, I needed to go to
debug
level. It shows the errors, but also lots of debug info:So my suggestion: actual fatal errors like these that cause the Spider to crash and give up should be logged at
error
level.Beta Was this translation helpful? Give feedback.
All reactions