Reduce log fatigue during startup.

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2021-08-31 15:24:04 +02:00
parent b894b4cfb9
commit a42a142c2f
2 changed files with 7 additions and 1 deletions
@@ -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.
@@ -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,
);