[xharness] Show better log names.

This commit is contained in:
Rolf Bjarne Kvinge 2016-11-07 15:25:53 +01:00
Родитель 15b25359c6
Коммит 816fca0fa1
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -376,7 +376,7 @@ namespace xharness
default:
throw new NotImplementedException ();
}
listener_log = Logs.CreateStream (LogDirectory, string.Format ("test-{0:yyyyMMdd_HHmmss}.log", DateTime.Now), "Test log");
listener_log = Logs.CreateStream (LogDirectory, string.Format ("test-{0}-{1:yyyyMMdd_HHmmss}.log", mode, DateTime.Now), "Test log");
listener.TestLog = listener_log;
listener.Log = main_log;
listener.AutoExit = true;
@ -416,7 +416,7 @@ namespace xharness
bool isCompanion = sim != simulator;
var log = new CaptureLog (sim.SystemLog) {
Path = Path.Combine (LogDirectory, sim.UDID + ".log"),
Path = Path.Combine (LogDirectory, sim.Name + ".log"),
Description = isCompanion ? "System log (companion)" : "System log",
};
log.StartCapture ();