@@ -126,8 +126,6 @@ export class LifecycleService extends AbstractServiceSchema implements OnApplica
126126
127127 this . logger . debug ( 'Lifecycle sources loaded:' , JSON . stringify ( this . lifecycleSources , null , 2 ) ) ;
128128
129- console . log ( 'lifecycleRules:' , lifecycleRules ) ;
130-
131129 if ( isConsoleEntrypoint ) {
132130 this . logger . debug ( 'Skipping LifecycleService bootstrap in console mode.' ) ;
133131 return ;
@@ -159,7 +157,6 @@ export class LifecycleService extends AbstractServiceSchema implements OnApplica
159157 this . logger . debug ( `Running lifecycle trigger cron job...` ) ;
160158
161159 for ( const lfr of lifecycleRules ) {
162- console . log ( 'Processing lifecycle rule:' , JSON . stringify ( lfr , null , 2 ) ) ;
163160 for ( const idRule of lfr . identities ) {
164161 if ( idRule . trigger ) {
165162 const dateKey = idRule . dateKey || 'lastLifecycleUpdate' ;
@@ -530,8 +527,6 @@ export class LifecycleService extends AbstractServiceSchema implements OnApplica
530527 // If the lifecycle has changed, we need to process the new lifecycle
531528 }
532529
533- console . log ( 'AH' , after . lifecycle , this . lifecycleSources ) ;
534-
535530 if ( this . lifecycleSources [ after . lifecycle ] ) {
536531 this . logger . debug ( `Processing lifecycle sources for identity <${ after . _id } > with lifecycle <${ after . lifecycle } >` ) ;
537532
@@ -543,13 +538,6 @@ export class LifecycleService extends AbstractServiceSchema implements OnApplica
543538 continue ; // Skip processing if it's a trigger-based rule
544539 }
545540
546- console . log ( 'LCS' ,
547- {
548- ...lcs . rules ,
549- _id : after . _id ,
550- ignoreLifecycle : { $ne : true } ,
551- } , ) ;
552-
553541 const res = await this . identitiesService . model . findOneAndUpdate (
554542 {
555543 ...lcs . rules ,
@@ -567,7 +555,6 @@ export class LifecycleService extends AbstractServiceSchema implements OnApplica
567555 upsert : false , // Do not create a new document if no match is found
568556 }
569557 ) ;
570- console . log ( 'RES' , res ) ;
571558
572559 if ( ! res ) {
573560 this . logger . debug ( `No identity found matching rules for lifecycle <${ after . lifecycle } >` ) ;
0 commit comments