Giter Site home page Giter Site logo

Comments (5)

tylertreat avatar tylertreat commented on July 22, 2024

Do you mean turning off logging in general or configuring the log level? To disable it I suppose you could do something like:

from bigquery import logger
logger.propagate = False

Similar for changing the log level:

from bigquery import logger
logger.setLevel(logging.ERROR)

I'm open to ideas for making the logging more nicely configurable though.

from bigquery-python.

cpdean avatar cpdean commented on July 22, 2024

Yeah I'm doing the logger.propagate = False thing at the moment. I feel like the default log level should be lower by default, since users to the library can elevate it if they need it for debugging. Otherwise it seems like an implementation detail leaking out.

Does that seem right? What are your thoughts?

from bigquery-python.

tylertreat avatar tylertreat commented on July 22, 2024

Yeah, that sounds reasonable.

from bigquery-python.

tylertreat avatar tylertreat commented on July 22, 2024

This has been addressed in the latest release.

from bigquery-python.

cpdean avatar cpdean commented on July 22, 2024

you're a champ, thanks

from bigquery-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.