mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-03 16:41:04 +01:00
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:
parent
8a3a24d92c
commit
2438996c69
@ -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}"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user