Make catalog logging a little quiter where entities are erroring

Signed-off-by: Brian Fletcher <brian@roadie.io>
This commit is contained in:
Brian Fletcher
2024-02-16 13:11:10 +00:00
parent a5e494cbaf
commit c52f7ac1ca
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Make entity collection errors a little quieter in the logs.
@@ -195,7 +195,7 @@ export class DefaultCatalogProcessingEngine {
const location =
unprocessedEntity?.metadata?.annotations?.[ANNOTATION_LOCATION];
for (const error of result.errors) {
this.logger.warn(error.message, {
this.logger.debug(error.message, {
entity: entityRef,
location,
});