From ba58c4cc4f3551e2f1c4a4939dfaa8eb0651fe41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?yongyiduan=28=E6=AE=B5=E6=B0=B8=E5=84=84=29?= Date: Mon, 4 Nov 2024 19:30:02 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[feat]=20=E6=8F=92=E4=BB=B6=E6=97=A5?= =?UTF-8?q?=E5=BF=9710w+=E5=8D=B3=E5=BD=92=E6=A1=A3=E4=B8=BA=E5=8E=8B?= =?UTF-8?q?=E7=BC=A9=E5=8C=85=20#11183?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/kotlin/com/tencent/devops/worker/common/Constants.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/ci/core/worker/worker-common/src/main/kotlin/com/tencent/devops/worker/common/Constants.kt b/src/backend/ci/core/worker/worker-common/src/main/kotlin/com/tencent/devops/worker/common/Constants.kt index 4d8ff2a136a..b4f80a01f3c 100644 --- a/src/backend/ci/core/worker/worker-common/src/main/kotlin/com/tencent/devops/worker/common/Constants.kt +++ b/src/backend/ci/core/worker/worker-common/src/main/kotlin/com/tencent/devops/worker/common/Constants.kt @@ -65,7 +65,7 @@ const val LOG_SUBTAG_FINISH_FLAG = "##subTagFinish##" const val LOG_MESSAGE_LENGTH_LIMIT = 16 * 1024 // 16KB -const val LOG_TASK_LINE_LIMIT = 1000000 +const val LOG_TASK_LINE_LIMIT = 100000 const val LOG_FILE_LENGTH_LIMIT = 1073741824 // 1 GB = 1073741824 Byte From 8e9c214f598dd4dbc1eb3744e3a70015a5c08b13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?yongyiduan=28=E6=AE=B5=E6=B0=B8=E5=84=84=29?= Date: Mon, 4 Nov 2024 19:32:43 +0800 Subject: [PATCH 2/2] =?UTF-8?q?[feat]=20=E6=8F=92=E4=BB=B6=E6=97=A5?= =?UTF-8?q?=E5=BF=9710w+=E5=8D=B3=E5=BD=92=E6=A1=A3=E4=B8=BA=E5=8E=8B?= =?UTF-8?q?=E7=BC=A9=E5=8C=85=20#11183?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/tencent/devops/worker/common/logger/LoggerService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/ci/core/worker/worker-common/src/main/kotlin/com/tencent/devops/worker/common/logger/LoggerService.kt b/src/backend/ci/core/worker/worker-common/src/main/kotlin/com/tencent/devops/worker/common/logger/LoggerService.kt index 7fcad41c9c4..33b4aa6584c 100644 --- a/src/backend/ci/core/worker/worker-common/src/main/kotlin/com/tencent/devops/worker/common/logger/LoggerService.kt +++ b/src/backend/ci/core/worker/worker-common/src/main/kotlin/com/tencent/devops/worker/common/logger/LoggerService.kt @@ -305,7 +305,7 @@ object LoggerService { ) this.uploadQueue.put( logMessage.copy( - message = "Printed logs cannot exceed 1 million lines. " + + message = "Printed logs cannot exceed 100,000 lines. " + "Please download logs to view." ) )