Skip to content

Commit 633825a

Browse files
mnicolescumnicolescu
mnicolescu
authored and
mnicolescu
committed
Add log progress information
1 parent cefabe2 commit 633825a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ProcessMyMedia/Tasks/Media/Analyzing/AnalyzeTaskBase.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ protected override async Task<ExecutionResult> RunTaskAsync(IStepExecutionContex
7474

7575
if (!job.IsFinished)
7676
{
77+
this.logger.LogInformation($"Analysing progress : {job.Progress} %");
7778
return ExecutionResult.Sleep(this.delayService.GetTimeToSleep(job.Created), job);
7879
}
7980
else if (job.Canceled)

ProcessMyMedia/Tasks/Media/Encoding/EncodeTaskBase.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ protected override async Task<ExecutionResult> RunTaskAsync(IStepExecutionContex
8888

8989
if (!job.IsFinished)
9090
{
91+
this.logger.LogInformation($"Encoding progress : {job.Progress} %");
9192
return ExecutionResult.Sleep(this.delayService.GetTimeToSleep(job.Created), job);
9293
}
9394
else if (job.Canceled)

0 commit comments

Comments
 (0)