Hi there,
We noticed that sometimes when you right-click a scheduled task in the list in the backend and choose Log, you get the logs for another task. For example, we have these two tasks:
Import users
Import users - UK
When I open the log for the first task, I get a mix of logs for both tasks. The log for the second task shows only its own logs.
I tracked it down to this code in historyList.aspx.vb
Dim searchPattern As String = String.Format("{0}*.log", SystemTools.ScheduledTasks.Task.MakeSafeFileName(jobName).Replace(";", "--"))
This code builds up a search pattern after the task name and then uses the * for a wild card search. This causes Import users - UK to match also when viewing the logs for Import users.
Is this a bug or is there a valid reason for the wild card? We can solve this by having unique task names, but it would be nicer not to have to think about this.
Thanks,
Imar