Skip to content

Commit

Permalink
Merge pull request #404 from bcgov/hotfix
Browse files Browse the repository at this point in the history
chore: log
  • Loading branch information
ychung-mot authored Jun 19, 2024
2 parents 65be012 + 375012d commit 9fac73e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/StrDss.Service/RentalListingReportService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,8 @@ private async Task ProcessRentalReportUploadAsync(DssUploadDelivery upload)

if (!isLastLine)
{
_logger.LogInformation($"Processed {processedCount} lines: {report.ReportPeriodYm.ToString("yyyy-MM")}, {report.ProvidingOrganization.OrganizationNm}");
processStopwatch.Stop();
_logger.LogInformation($"Processed {processedCount} lines: {report.ReportPeriodYm.ToString("yyyy-MM")}, {report.ProvidingOrganization.OrganizationNm} - {processStopwatch.Elapsed.TotalSeconds} seconds");
return;
}

Expand Down Expand Up @@ -440,7 +441,6 @@ private async Task ProcessRentalReportUploadAsync(DssUploadDelivery upload)
}

processStopwatch.Stop();

_logger.LogInformation($"Finished: {report.ReportPeriodYm.ToString("yyyy-MM")}, {report.ProvidingOrganization.OrganizationNm} - {processStopwatch.Elapsed.TotalSeconds} seconds");
}

Expand Down

0 comments on commit 9fac73e

Please sign in to comment.