diff --git a/backend/danswer/configs/app_configs.py b/backend/danswer/configs/app_configs.py index 76f13deba..b55ae7886 100644 --- a/backend/danswer/configs/app_configs.py +++ b/backend/danswer/configs/app_configs.py @@ -246,6 +246,8 @@ JOB_TIMEOUT = 60 * 60 * 6 # 6 hours default LOG_ALL_MODEL_INTERACTIONS = ( os.environ.get("LOG_ALL_MODEL_INTERACTIONS", "").lower() == "true" ) +# If set to `true` will enable additional logs about Vespa query performance +# (time spent on finding the right docs + time spent fetching summaries from disk) LOG_VESPA_TIMING_INFORMATION = ( os.environ.get("LOG_VESPA_TIMING_INFORMATION", "").lower() == "true" ) diff --git a/deployment/docker_compose/docker-compose.dev.yml b/deployment/docker_compose/docker-compose.dev.yml index 5d56f1443..93aaaedc3 100644 --- a/deployment/docker_compose/docker-compose.dev.yml +++ b/deployment/docker_compose/docker-compose.dev.yml @@ -58,6 +58,9 @@ services: - LOG_LEVEL=${LOG_LEVEL:-info} # Log all of the prompts to the LLM - LOG_ALL_MODEL_INTERACTIONS=${LOG_ALL_MODEL_INTERACTIONS:-info} + # If set to `true` will enable additional logs about Vespa query performance + # (time spent on finding the right docs + time spent fetching summaries from disk) + - LOG_VESPA_TIMING_INFORMATION=${LOG_VESPA_TIMING_INFORMATION:-} volumes: - local_dynamic_storage:/home/storage - file_connector_tmp_storage:/home/file_connector_storage