From e98b1bf31f7c4efcaf879e4f7449cd0038b58035 Mon Sep 17 00:00:00 2001 From: huangxianguo Date: Fri, 12 Jul 2024 14:32:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=8A=E4=BC=A0=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E7=9B=B8=E5=85=B3=E7=9A=84=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MasstransferExporter/LogExporter/LogFileExporter.cs | 2 +- MasstransferExporter/Program.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MasstransferExporter/LogExporter/LogFileExporter.cs b/MasstransferExporter/LogExporter/LogFileExporter.cs index 922782c..2751680 100644 --- a/MasstransferExporter/LogExporter/LogFileExporter.cs +++ b/MasstransferExporter/LogExporter/LogFileExporter.cs @@ -32,7 +32,7 @@ public class LogFileExporter foreach (var file in files) { - var fileName = $"sn/{TimeUtil.FormatTime(yesterday, "yyyy-MM-dd")}/{level}/{file.Name}"; + var fileName = $"123456/{TimeUtil.FormatTime(yesterday, "yyyy-MM-dd")}/{level}/{file.Name}"; await _minio.UploadFileAsync("log", fileName, file.FullName); } diff --git a/MasstransferExporter/Program.cs b/MasstransferExporter/Program.cs index a043d47..3d23cfc 100644 --- a/MasstransferExporter/Program.cs +++ b/MasstransferExporter/Program.cs @@ -12,7 +12,7 @@ class Program Port = 8884, EnableTls = false }; - + await MessageQueueHelper.InitConnect(options); await LogFileExporter.ExportLogFile();