Skip to content

Is it right to deprecate skip_warningiserror (v8.1.x)? #12977

Closed Answered by AA-Turner
jdknight asked this question in Q&A
Discussion options

You must be logged in to vote

does not want to deal with the idea of "critical warnings" over "relaxed warnings"

This is one of the reasons I'm not a massive fan of -W, you loose discretion about what category a log message is...

I removed skip_warningiserror to reduce implementation complexity. We could restore it but I would prefer not to.

Suggestions:

  1. Use INFO (HTTP 429 is sort-of fine anyway, its's not a failure)
  2. We restore skip_warningiserror
  3. We add a per-log-call opt-out of raising exceptions. (e.g. logger.warning(..., no_exception_on_warning=True) or a better name)

A

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jdknight
Comment options

@AA-Turner
Comment options

@jdknight
Comment options

Answer selected by AA-Turner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants