docs(debugging.md): add docs for debugging on the proxy

This commit is contained in:
Krrish Dholakia 2024-01-29 15:21:12 -08:00
parent 21eb88b5d9
commit f7320834af
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,34 @@
# Debugging
2 levels of debugging supported.
- debug (prints info logs)
- detailed debug (prints debug logs)
## `debug`
**via cli**
```bash
$ litellm --debug
```
**via env**
```python
os.environ["LITELLM_LOG"] = "INFO"
```
## `detailed debug`
**via cli**
```bash
$ litellm --detailed_debug
```
**via env**
```python
os.environ["LITELLM_LOG"] = "DEBUG"
```

View file

@ -115,6 +115,7 @@ const sidebars = {
"proxy/ui",
"proxy/model_management",
"proxy/health",
"proxy/debugging",
{
"type": "category",
"label": "🔥 Load Balancing",