Ensure logging is configured
By default, Jupyter notebooks send logs to standard error instead of standard output, which means your logs will not show up in your notebook cell output unless you configure logging as we do below.
Increase the logger’s verbosity
When debugging an issue, it’s helpful to increase logs to a higher level verbosity so more info is outputted to standard output. Python loggers default to usingWARNING log level, but you can choose different values to get different levels of verbosity. The values, from least verbose to most, are ERROR, WARNING, INFO, and DEBUG. You can set this as follows:
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.