Set LiteLLM logging level (#758)

<!-- .github/pull_request_template.md -->

## 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 <rex@epicx.me>
This commit is contained in:
rex993 2025-04-18 17:28:39 +10:00 committed by GitHub
parent ba2de9bb22
commit 54fb400d91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"