Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cannot disable logging properly #6813

Closed
Seluj78 opened this issue Nov 19, 2024 · 1 comment
Closed

[Bug]: Cannot disable logging properly #6813

Seluj78 opened this issue Nov 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Seluj78
Copy link

Seluj78 commented Nov 19, 2024

What happened?

I want to disable the entire logging from litellm or at least set it to logging.WARNING for the python SDK.

I've tried everything, and there's no documentation about it.

Relevant log output

No response

Twitter / LinkedIn details

No response

@Seluj78 Seluj78 added the bug Something isn't working label Nov 19, 2024
@krrishdholakia
Copy link
Contributor

krrishdholakia commented Nov 21, 2024

i believe you can just do litellm._logging.disable_debugging()

def _disable_debugging():

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants