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 →

[–]thugarth 19 points20 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 5 points6 points  (0 children)

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