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

Unable to save the LiteLLM custom logger logs in a log file #6866

Open
manali04shyam opened this issue Nov 22, 2024 · 2 comments
Open

Unable to save the LiteLLM custom logger logs in a log file #6866

manali04shyam opened this issue Nov 22, 2024 · 2 comments

Comments

@manali04shyam
Copy link

I am using from litellm.integrations.custom_logger import CustomLogger to generate logs but not able to save these logs in a log file. Tried writing a custom python function but it is not working. Is there any out of the box feature or library in LiteLLM that would enable this?

@krrishdholakia
Copy link
Contributor

what's the error you see? @manali04shyam

@manali04shyam
Copy link
Author

There are no errors as such but the file saving function is not working inside the customLogger. Logs are only showing in the terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants