Execution logs fix
This commit is contained in:
parent
7bedf74555
commit
84caeb00c7
1 changed files with 3 additions and 1 deletions
|
@ -80,6 +80,8 @@ namespace WebsitePanel.Portal
|
|||
if (task.GetLogs().Count > 0)
|
||||
ViewState["lastLogDate"] = task.GetLogs()[0].Date.AddTicks(1);
|
||||
|
||||
|
||||
|
||||
foreach (BackgroundTaskLogRecord logRecord in task.GetLogs())
|
||||
{
|
||||
log.Append("[").Append(GetDurationText(task.StartDate, logRecord.Date)).Append("] ");
|
||||
|
@ -87,7 +89,7 @@ namespace WebsitePanel.Portal
|
|||
log.Append(LocalizeActivityText(logRecord.Text));
|
||||
log.Append("<br>");
|
||||
}
|
||||
litLog.Text = log.ToString() + litLog.Text;
|
||||
litLog.Text = log.ToString();//+ litLog.Text;
|
||||
|
||||
if(task.Completed)
|
||||
btnStop.Visible = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue