From 54fb400d9132ebe996b07f3b18795141490ff940 Mon Sep 17 00:00:00 2001 From: rex993 <6278392+rex993@users.noreply.github.com> Date: Fri, 18 Apr 2025 17:28:39 +1000 Subject: [PATCH] Set LiteLLM logging level (#758) ## Description LiteLLM adds the debugging lines: LiteLLM:INFO to the output when running and can flood the output making actual cognee debugging difficult. This .env config will suppress logging to ERROR level only. Note there is an open bug with LiteLLM here [https://github.com/BerriAI/litellm/issues/9815](https://github.com/BerriAI/litellm/issues/9815) as 'cost calculation' lines will still be shown despite ERROR level logging ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin. Co-authored-by: rex --- .env.template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.env.template b/.env.template index ba7126182..da862f285 100644 --- a/.env.template +++ b/.env.template @@ -62,3 +62,6 @@ DB_NAME=cognee_db # MIGRATION_DB_PASSWORD=cognee # MIGRATION_DB_HOST="127.0.0.1" # MIGRATION_DB_PORT=5432 + +# LITELLM Logging Level. Set to quiten down logging +LITELLM_LOG="ERROR"