Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7676743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T17:16:03+00:00 2026-05-31T17:16:03+00:00

Why is logging ignoring the settings I’ve configured for suds logger? In my Django

  • 0

Why is logging ignoring the settings I’ve configured for suds logger?

In my Django app, I have logging set up in settings.py:

logging.basicConfig(
    level = logging.DEBUG,
    format = " %(levelname)s  [%(asctime)s] %(filename)s: %(message)s",
    datefmt='%d-%b %H:%M:%S',
    )

I’m also using suds within this app, but don’t want to see the reams of messages from suds, so I added this:

SUDS_LOGGING_LEVEL = logging.CRITICAL
logging.getLogger('suds.client').setLevel(SUDS_LOGGING_LEVEL)
logging.getLogger('suds.transport').setLevel(SUDS_LOGGING_LEVEL)
logging.getLogger('suds.xsd.schema').setLevel(SUDS_LOGGING_LEVEL)
logging.getLogger('suds.wsdl').setLevel(SUDS_LOGGING_LEVEL)
logging.getLogger('suds.resolver').setLevel(SUDS_LOGGING_LEVEL)
logging.getLogger('suds.xsd.query').setLevel(SUDS_LOGGING_LEVEL)
logging.getLogger('suds.xsd.basic').setLevel(SUDS_LOGGING_LEVEL)
logging.getLogger('suds.binding.marshaller').setLevel(SUDS_LOGGING_LEVEL)    

Yet I still see the suds DEBUG messages.

If I put a pdb breakpoint just before the suds call, I confirm that logging.getLogger('suds.client').level is 50 (logging.CRITICAL). I step to the suds line and I see all the logging.

If I temporarily change the level for the root logger, the logging is suppressed:

original_log_level = logging.getLogger().level
logging.getLogger().setLevel(logging.CRITICAL)

... do some suds stuff ...

logging.getLogger().setLevel(original_log_level)

This all suggests that suds is ignoring the suds logging levels.

Why?

Django 1.2.7, Python 2.7, suds 0.4 GA

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T17:16:04+00:00Added an answer on May 31, 2026 at 5:16 pm

    Add %(name)s to the format string. That will tell you exactly which suds loggers are still logging – perhaps you didn’t get all of them. (For example, code in suds/client.py logs to the logger named ‘suds.client’ but also logs to the logger named ‘suds.metrics’.)

    Also try setting the level of the ‘suds’ logger to CRITICAL and see if that cuts down the logging output.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Though the logging level is set to INFO, and that at runtime the condition
My LOGGING directive in settings is set to: LOGGING = { 'version': 1, 'disable_existing_loggers':
Logging can get complicated, quickly. Considering that you have some code, how do you
In logging frameworks like log4j & log4net you have the ability to log various
For logging purposes, I'd like to create a logger that automatically adds the current
Is there any .NET logging framework that have ability to switch appender if something
While logging in to msn-messenger you have these nifty textboxes that show you what
After logging into SO, my nickname shows up at the top. When I set
Currently I'm logging into my account. After proceeding some of the pages I have
For some logging ouput, I have a Windows.Forms.Textbox which is updated via TB.AppendText(some new

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.