diff --git a/docs/my-website/docs/proxy/debugging.md b/docs/my-website/docs/proxy/debugging.md new file mode 100644 index 000000000..c5653d90f --- /dev/null +++ b/docs/my-website/docs/proxy/debugging.md @@ -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" +``` \ No newline at end of file diff --git a/docs/my-website/sidebars.js b/docs/my-website/sidebars.js index 6a5033e98..023367172 100644 --- a/docs/my-website/sidebars.js +++ b/docs/my-website/sidebars.js @@ -115,6 +115,7 @@ const sidebars = { "proxy/ui", "proxy/model_management", "proxy/health", + "proxy/debugging", { "type": "category", "label": "🔥 Load Balancing",