From f7320834af9fe92c8b8a3d059095bdd269680e5f Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Mon, 29 Jan 2024 15:21:12 -0800 Subject: [PATCH] docs(debugging.md): add docs for debugging on the proxy --- docs/my-website/docs/proxy/debugging.md | 34 +++++++++++++++++++++++++ docs/my-website/sidebars.js | 1 + 2 files changed, 35 insertions(+) create mode 100644 docs/my-website/docs/proxy/debugging.md 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",