Skip to content

set post and response log level #3096

Closed

Description

@titanium-temu

Confirm this is a feature request for the Python library and not the underlying OpenAI API.

  • This is a feature request for the Python library

Describe the feature or improvement you're requesting

When use openai-python we can not set log level such as warning or error..

Additional context

No response

Activity

  1. marcuswood-oai commented on Sep 14, 2026

    @marcuswood-oai
    Contributor

    Thanks for raising this! #3734 adds warning, error, and critical support to OPENAI_LOG. It’s still awaiting merge and release; once released, you can upgrade and set OPENAI_LOG=warning to show SDK warnings and errors. Closing this issue so we can track the remaining work in that PR.

  2. added a commit that references this issue on Sep 14, 2026
    44000e0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions