Reduce orphan cleanup logging from info to debug
Signed-off-by: Jen Evans <jenevan@rei.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend': patch
|
||||
---
|
||||
|
||||
Change orphan cleanup task to debug log from info.
|
||||
@@ -317,7 +317,7 @@ export class DefaultCatalogProcessingEngine implements CatalogProcessingEngine {
|
||||
try {
|
||||
await this.processingDatabase.transaction(async tx => {
|
||||
const n = await this.processingDatabase.deleteOrphanedEntities(tx);
|
||||
this.logger.info(`Deleted ${n} orphaned entities`);
|
||||
this.logger.debug(`Deleted ${n} orphaned entities`);
|
||||
});
|
||||
} catch (error) {
|
||||
this.logger.warn(`Failed to delete orphaned entities`, error);
|
||||
|
||||
Reference in New Issue
Block a user