mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
chore: debug lifecycle only when have new stages (#8418)
This commit is contained in:
parent
da4acd07f5
commit
82750207f3
@ -132,7 +132,10 @@ export class FeatureLifecycleService {
|
||||
}
|
||||
|
||||
private recordStagesEntered(newlyEnteredStages: NewStage[]) {
|
||||
if (this.flagResolver.isEnabled('trackLifecycleMetrics')) {
|
||||
if (
|
||||
this.flagResolver.isEnabled('trackLifecycleMetrics') &&
|
||||
newlyEnteredStages.length > 0
|
||||
) {
|
||||
this.logger.info(
|
||||
`recordStagesEntered parameter ${JSON.stringify(newlyEnteredStages)}`,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user