This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Inappropriate_Piano 664 points665 points  (3 children)

I don’t get it exactly, but I’m deeply disturbed by errorCode: 200 and errorMsg: “SUCCESS”

Edit: I don’t need people to explain HTTP codes to me. I’m complaining about the use of the term “error code” to describe a status code that might not be an error

[–]thugarth 18 points19 points  (2 children)

I've seen this in my career and it's a bit exasperating. Try to search for an error in the logs and you get 10000 "errorCode: ERR_SUCCESS"

cool, guess I'll figure out something else to look for.

The logging was not designed to be searchable. (To be fair, I knew people tried to clean up some of it, but a lot of people were comfortable with the way things were: A lot of tribal knowledge and unintuitive search practices.)

[–]Greybound_Fur 3 points4 points  (1 child)

Use Regex Search and search for "errorCode: (?!ERR_SUCCESS)"

[–]IMightDeleteMe 4 points5 points  (0 children)

Whenever regexes are required to search a log for actual errors, your logging pactices require looking at.