Fixed logging bugs

This commit is contained in:
vfedosevich 2013-06-04 18:17:12 +03:00
parent 476f7a2b19
commit e4f84fb869
3 changed files with 10 additions and 5 deletions

View file

@ -512,7 +512,7 @@ namespace WebsitePanel.EnterpriseServer
if (task == null)
return null;
task.Logs = TaskController.GetLogs(task.Id, startLogTime);
task.Logs = TaskController.GetLogs(task, startLogTime);
return task;
}
@ -600,7 +600,7 @@ namespace WebsitePanel.EnterpriseServer
private static void AddAuditLog(BackgroundTask task)
{
task.Logs = TaskController.GetLogs(task.Id, task.StartDate);
task.Logs = TaskController.GetLogs(task, task.StartDate);
string executionLog = FormatExecutionLog(task);