forked from phoenix/litellm-mirror
docs(debugging.md): add docs for debugging on the proxy
This commit is contained in:
parent
21eb88b5d9
commit
f7320834af
2 changed files with 35 additions and 0 deletions
34
docs/my-website/docs/proxy/debugging.md
Normal file
34
docs/my-website/docs/proxy/debugging.md
Normal 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"
|
||||||
|
```
|
|
@ -115,6 +115,7 @@ const sidebars = {
|
||||||
"proxy/ui",
|
"proxy/ui",
|
||||||
"proxy/model_management",
|
"proxy/model_management",
|
||||||
"proxy/health",
|
"proxy/health",
|
||||||
|
"proxy/debugging",
|
||||||
{
|
{
|
||||||
"type": "category",
|
"type": "category",
|
||||||
"label": "🔥 Load Balancing",
|
"label": "🔥 Load Balancing",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue