1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2025-04-21 17:15:43 +02:00

Fix backups not working with Forge log format

This commit is contained in:
chylex 2024-04-04 20:44:05 +02:00
parent 1b12fd9c3b
commit f7f08ec55c
Signed by: chylex
GPG Key ID: 4DE42C8F19A80548

View File

@ -7,7 +7,7 @@ using Serilog;
namespace Phantom.Agent.Services.Backups;
sealed partial class BackupServerCommandDispatcher : IDisposable {
[GeneratedRegex(@"^\[(?:.*?)\] \[Server thread/INFO\]: (.*?)$", RegexOptions.NonBacktracking)]
[GeneratedRegex(@"^\[(?:.*?)\] \[Server thread/INFO\](?:.*?): (.*?)$", RegexOptions.NonBacktracking)]
private static partial Regex ServerThreadInfoRegex();
private readonly ILogger logger;