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

feat(proxy_cli.py): support json logs on proxy #3737

Merged
merged 3 commits into from
May 20, 2024
Merged

Conversation

krrishdholakia
Copy link
Contributor

Title

allow user to enable 'json logs' for proxy server

enables logs to be collected with fluentd at k8s

Relevant issues

Type

🆕 New Feature

Changes

  • adds new _logging.py for proxy
  • supports new JSON_LOGS env variable
  • supports all logs being in json mode, if enabled

[REQUIRED] Testing - Attach a screenshot of any new tests passing locall

If UI changes, send a screenshot/GIF of working UI fixes

Tested anecdotally

Screenshot 2024-05-20 at 9 23 31 AM

Copy link

vercel bot commented May 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 20, 2024 4:30pm

@krrishdholakia krrishdholakia merged commit 626e556 into main May 20, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant