[Application Usage] Rollups: log.debug instead of log.warn (#87842)

This commit is contained in:
Alejandro Fernández Haro 2021-01-11 16:54:10 +00:00 committed by GitHub
parent 5a69310441
commit e5c812e783
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,8 +115,8 @@ export async function rollDailyData(logger: Logger, savedObjectsClient?: ISavedO
}
} while (toCreate.size > 0);
} catch (err) {
logger.warn(`Failed to rollup transactional to daily entries`);
logger.warn(err);
logger.debug(`Failed to rollup transactional to daily entries`);
logger.debug(err);
}
}
@ -237,7 +237,7 @@ export async function rollTotals(logger: Logger, savedObjectsClient?: ISavedObje
),
]);
} catch (err) {
logger.warn(`Failed to rollup daily entries to totals`);
logger.warn(err);
logger.debug(`Failed to rollup daily entries to totals`);
logger.debug(err);
}
}