CP-39929: Use pipe | as delimiter for RPU/Update logs

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
This commit is contained in:
Danilo Del Busso 2022-08-16 13:47:07 +01:00
parent 8a3a24d92c
commit 2438996c69
No known key found for this signature in database
GPG Key ID: 0C48542619080FD4

View File

@ -164,7 +164,7 @@ namespace XenAdmin.Core
var timestampString = HelpersGUI.DateTimeToString(timestamp, Messages.DATEFORMAT_DM_HM, localize);
// normalise all line endings before splitting
var lines = value.Replace(Environment.NewLine, "\n").Split('\n');
return string.Join(Environment.NewLine, lines.Select(line => $"{timestampString}> {line}"));
return string.Join(Environment.NewLine, lines.Select(line => $"{timestampString} | {line}"));
}
}
}