Python SDK logging

I recently updated the Python SDK from 20250220 to 20260122. I know that after 20250220 there was a complete rewrite of the Python SDK. One difference I’ve noticed since going live is that all API calls are now logged by default. In my server logs I now see something similar to this for every call:
HTTP Request: POST https://connect.squareup.com/v2/orders “HTTP/1.1 200 OK”

This was really helpful during development and for monitoring after launch. Now that my update has been live for a while, I want to turn off the logs for successful calls, since there are so many of them and I can see them in the developer dashboard. Is there a way to disable logging for successful calls and only log when there’s an error?

:waving_hand: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Square Developer Tools
Webhook Event Logs
Payments API Webhooks

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.