We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75dd103 commit 2a9dba3Copy full SHA for 2a9dba3
backend/danswer/utils/logger.py
@@ -61,11 +61,11 @@ def process(
61
) -> tuple[str, MutableMapping[str, Any]]:
62
# If this is an indexing job, add the attempt ID to the log message
63
# This helps filter the logs for this specific indexing
64
- attempt_id = IndexAttemptSingleton.get_index_attempt_id()
+ index_attempt_id = IndexAttemptSingleton.get_index_attempt_id()
65
cc_pair_id = IndexAttemptSingleton.get_connector_credential_pair_id()
66
67
- if attempt_id is not None:
68
- msg = f"[Attempt: {attempt_id}] {msg}"
+ if index_attempt_id is not None:
+ msg = f"[Index Attempt: {index_attempt_id}] {msg}"
69
70
if cc_pair_id is not None:
71
msg = f"[CC Pair: {cc_pair_id}] {msg}"
0 commit comments