diff --git a/.changeset/techdocs-search-log-fatigue.md b/.changeset/techdocs-search-log-fatigue.md new file mode 100644 index 0000000000..dc81563d8c --- /dev/null +++ b/.changeset/techdocs-search-log-fatigue.md @@ -0,0 +1,6 @@ +--- +'@backstage/plugin-techdocs-backend': patch +--- + +Errors encountered while attempting to load TechDocs search indices at +collation-time are now logged at `DEBUG` instead of `WARN` level. diff --git a/plugins/techdocs-backend/src/search/DefaultTechDocsCollator.ts b/plugins/techdocs-backend/src/search/DefaultTechDocsCollator.ts index f525d7af7e..850be2823c 100644 --- a/plugins/techdocs-backend/src/search/DefaultTechDocsCollator.ts +++ b/plugins/techdocs-backend/src/search/DefaultTechDocsCollator.ts @@ -110,7 +110,7 @@ export class DefaultTechDocsCollator implements DocumentCollator { ?.target?.name || '', })); } catch (e) { - this.logger.warn( + this.logger.debug( `Failed to retrieve tech docs search index for entity ${entityInfo.namespace}/${entityInfo.kind}/${entityInfo.name}`, e, );