Hello,
Following the recent changes to Milestone Logs, where the log service has been replaced by VictoriaLogs and is no longer installed, is there an alternative way to retrieve these logs? After testing the approach documented in the SDK, I found that it no longer works.
Could you please advise on the recommended way to access these logs?
private void fillGrid(string group)
{
VideoOS.Platform.Log.LogClient.Instance.ReadLog(VideoOS.Platform.EnvironmentManager.Instance.MasterSite.ServerId, 1, out _result, out _names, group);
var colNum = new DataGridViewTextBoxColumn { HeaderText = “Number” };
dGridViewLog.Columns.Add(colNum);
foreach (string name in \_names)
{
var col = new DataGridViewTextBoxColumn { HeaderText = name, Width = 150 };
dGridViewLog.Columns.Add(col);
}
foreach (System.Collections.ArrayList arrayList in \_result)
{
DataGridViewRow row = (DataGridViewRow)dGridViewLog.RowTemplate.Clone();
row.CreateCells(dGridViewLog, arrayList.ToArray());
dGridViewLog.Rows.Add(row);
}
}