diff --git a/Content.Client/Administration/UI/CustomControls/AdminLogLabel.cs b/Content.Client/Administration/UI/CustomControls/AdminLogLabel.cs index 029d414a67..ee7fee8e70 100644 --- a/Content.Client/Administration/UI/CustomControls/AdminLogLabel.cs +++ b/Content.Client/Administration/UI/CustomControls/AdminLogLabel.cs @@ -11,7 +11,7 @@ public class AdminLogLabel : RichTextLabel Log = log; Separator = separator; - SetMessage(log.Message); + SetMessage($"{log.Date:HH:mm:ss}: {log.Message}"); OnVisibilityChanged += VisibilityChanged; } diff --git a/Content.Server/Administration/Logs/AdminLogsEui.cs b/Content.Server/Administration/Logs/AdminLogsEui.cs index ab808f2a8e..4c4b08d28c 100644 --- a/Content.Server/Administration/Logs/AdminLogsEui.cs +++ b/Content.Server/Administration/Logs/AdminLogsEui.cs @@ -26,6 +26,7 @@ public sealed class AdminLogsEui : BaseEui private readonly ISawmill _sawmill; private readonly AdminLogSystem _logSystem; + private readonly GameTicker _gameTicker; private int _clientBatchSize; private bool _isLoading = true; @@ -42,6 +43,8 @@ public sealed class AdminLogsEui : BaseEui _configuration.OnValueChanged(CCVars.AdminLogsClientBatchSize, ClientBatchSizeChanged, true); _logSystem = EntitySystem.Get(); + _gameTicker = EntitySystem.Get(); + _filter = new LogFilter { CancellationToken = _logSendCancellation.Token,