Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable django.security.DisallowedHost from logging #4879

Merged

Conversation

@dojutsu-user
Copy link
Member

@dojutsu-user dojutsu-user commented Nov 8, 2018

Fixes #4791

@codecov
Copy link

@codecov codecov bot commented Nov 8, 2018

Codecov Report

Merging #4879 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #4879   +/-   ##
=======================================
  Coverage   76.64%   76.64%           
=======================================
  Files         158      158           
  Lines       10054    10054           
  Branches     1271     1271           
=======================================
  Hits         7706     7706           
  Misses       2007     2007           
  Partials      341      341

@dojutsu-user
Copy link
Member Author

@dojutsu-user dojutsu-user commented Nov 8, 2018

@humitos
Please review.

humitos
humitos approved these changes Nov 8, 2018
Copy link
Member

@humitos humitos left a comment

Thanks! This looks good to me :)

@ericholscher ericholscher merged commit e3badfe into readthedocs:master Nov 8, 2018
3 checks passed
@ericholscher
Copy link
Member

@ericholscher ericholscher commented Nov 8, 2018

Thanks!

@dojutsu-user dojutsu-user deleted the disable-allowed-host-logging branch Dec 12, 2018
@shahwan42
Copy link

@shahwan42 shahwan42 commented Oct 21, 2019

I faced the same problem and google led me to here... if anybody is facing the same issue and have the correct config, like me, try to add this

"django.security.DisallowedHost": {
            "handlers": ["null"],
            "propagate": False,
        },

as the first element in the loggers dict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

4 participants