Skip to content

How do I stop the serp_goog displaying my API key to console? #281

Closed Answered by omiq
omiq asked this question in Q&A
Discussion options

You must be logged in to vote

After digging into the code I found this seems to work in lieu of an official answer:

# Turn off logging
log_status = logging.getLogger().getEffectiveLevel()
logging.getLogger().setLevel(logging.CRITICAL)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@eliasdabbas
Comment options

Answer selected by omiq
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