normalize use of .info (INFO) instead of .succ (DONE) logging
This commit is contained in:
parent
8e30744bb9
commit
e9eaafae41
13 changed files with 27 additions and 27 deletions
|
|
@ -87,6 +87,6 @@ export class AggregateRetentionProcessorService {
|
|||
});
|
||||
}
|
||||
|
||||
this.logger.succ('Retention aggregated.');
|
||||
this.logger.info('Retention aggregated.');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,6 +37,6 @@ export class BakeBufferedReactionsProcessorService {
|
|||
|
||||
await this.reactionsBufferingService.bake();
|
||||
|
||||
this.logger.succ('All buffered reactions baked.');
|
||||
this.logger.info('All buffered reactions baked.');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,6 +41,6 @@ export class CheckExpiredMutingsProcessorService {
|
|||
await this.userMutingService.unmute(expired);
|
||||
}
|
||||
|
||||
this.logger.succ('All expired mutings checked.');
|
||||
this.logger.info('All expired mutings checked.');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,6 +62,6 @@ export class CleanChartsProcessorService {
|
|||
await this.perUserDriveChart.clean();
|
||||
await this.apRequestChart.clean();
|
||||
|
||||
this.logger.succ('All charts successfully cleaned.');
|
||||
this.logger.info('All charts successfully cleaned.');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -69,6 +69,6 @@ export class CleanProcessorService {
|
|||
|
||||
this.reversiService.cleanOutdatedGames();
|
||||
|
||||
this.logger.succ('Cleaned.');
|
||||
this.logger.info('Cleaned.');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -75,6 +75,6 @@ export class CleanRemoteFilesProcessorService {
|
|||
await job.updateProgress(100 / total * deletedCount);
|
||||
}
|
||||
|
||||
this.logger.succ(`All cached remote files processed. Total deleted: ${deletedCount}, Failed: ${errorCount}.`);
|
||||
this.logger.info(`All cached remote files processed. Total deleted: ${deletedCount}, Failed: ${errorCount}.`);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ export class DeleteAccountProcessorService {
|
|||
userId: user.id,
|
||||
});
|
||||
|
||||
this.logger.succ('All clips have been deleted.');
|
||||
this.logger.info('All clips have been deleted.');
|
||||
}
|
||||
|
||||
{ // Delete favorites
|
||||
|
|
@ -136,7 +136,7 @@ export class DeleteAccountProcessorService {
|
|||
userId: user.id,
|
||||
});
|
||||
|
||||
this.logger.succ('All favorites have been deleted.');
|
||||
this.logger.info('All favorites have been deleted.');
|
||||
}
|
||||
|
||||
{ // Delete user relations
|
||||
|
|
@ -172,7 +172,7 @@ export class DeleteAccountProcessorService {
|
|||
muteeId: user.id,
|
||||
});
|
||||
|
||||
this.logger.succ('All user relations have been deleted.');
|
||||
this.logger.info('All user relations have been deleted.');
|
||||
}
|
||||
|
||||
{ // Delete reactions
|
||||
|
|
@ -206,7 +206,7 @@ export class DeleteAccountProcessorService {
|
|||
}
|
||||
}
|
||||
|
||||
this.logger.succ('All reactions have been deleted');
|
||||
this.logger.info('All reactions have been deleted');
|
||||
}
|
||||
|
||||
{ // Poll votes
|
||||
|
|
@ -238,7 +238,7 @@ export class DeleteAccountProcessorService {
|
|||
});
|
||||
}
|
||||
|
||||
this.logger.succ('All poll votes have been deleted');
|
||||
this.logger.info('All poll votes have been deleted');
|
||||
}
|
||||
|
||||
{ // Delete scheduled notes
|
||||
|
|
@ -254,7 +254,7 @@ export class DeleteAccountProcessorService {
|
|||
userId: user.id,
|
||||
});
|
||||
|
||||
this.logger.succ('All scheduled notes deleted');
|
||||
this.logger.info('All scheduled notes deleted');
|
||||
}
|
||||
|
||||
{ // Delete notes
|
||||
|
|
@ -312,7 +312,7 @@ export class DeleteAccountProcessorService {
|
|||
}
|
||||
}
|
||||
|
||||
this.logger.succ('All of notes deleted');
|
||||
this.logger.info('All of notes deleted');
|
||||
}
|
||||
|
||||
{ // Delete files
|
||||
|
|
@ -341,7 +341,7 @@ export class DeleteAccountProcessorService {
|
|||
}
|
||||
}
|
||||
|
||||
this.logger.succ('All of files deleted');
|
||||
this.logger.info('All of files deleted');
|
||||
}
|
||||
|
||||
{ // Delete actor logs
|
||||
|
|
@ -353,7 +353,7 @@ export class DeleteAccountProcessorService {
|
|||
await this.apLogService.deleteInboxLogs(user.id)
|
||||
.catch(err => this.logger.error(err, `Failed to delete AP logs for user '${user.uri}'`));
|
||||
|
||||
this.logger.succ('All AP logs deleted');
|
||||
this.logger.info('All AP logs deleted');
|
||||
}
|
||||
|
||||
// Do this BEFORE deleting the account!
|
||||
|
|
@ -379,7 +379,7 @@ export class DeleteAccountProcessorService {
|
|||
await this.usersRepository.delete(user.id);
|
||||
}
|
||||
|
||||
this.logger.succ('Account data deleted');
|
||||
this.logger.info('Account data deleted');
|
||||
}
|
||||
|
||||
{ // Send email notification
|
||||
|
|
|
|||
|
|
@ -74,6 +74,6 @@ export class DeleteDriveFilesProcessorService {
|
|||
job.updateProgress(deletedCount / total);
|
||||
}
|
||||
|
||||
this.logger.succ(`All drive files (${deletedCount}) of ${user.id} has been deleted.`);
|
||||
this.logger.info(`All drive files (${deletedCount}) of ${user.id} has been deleted.`);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,6 +36,6 @@ export class ResyncChartsProcessorService {
|
|||
await this.notesChart.resync();
|
||||
await this.usersChart.resync();
|
||||
|
||||
this.logger.succ('All charts successfully resynced.');
|
||||
this.logger.info('All charts successfully resynced.');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,6 +62,6 @@ export class TickChartsProcessorService {
|
|||
await this.perUserDriveChart.tick(false);
|
||||
await this.apRequestChart.tick(false);
|
||||
|
||||
this.logger.succ('All charts successfully ticked.');
|
||||
this.logger.info('All charts successfully ticked.');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue