From 81986d627ca3369a205f598f9950090daa6efb7f Mon Sep 17 00:00:00 2001 From: volcie Date: Wed, 17 Sep 2025 12:43:54 +0300 Subject: [PATCH] fix(server): switch Fluentd logging from legacy env vars to Docker labels --- bootstrap/helpers/shared.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php index a0ab5a704..52d81dea9 100644 --- a/bootstrap/helpers/shared.php +++ b/bootstrap/helpers/shared.php @@ -2687,8 +2687,8 @@ function generate_fluentd_configuration(): array 'fluentd-address' => 'tcp://127.0.0.1:24224', 'fluentd-async' => 'true', 'fluentd-sub-second-precision' => 'true', - // env vars are used in the LogDrain configurations - 'env' => 'COOLIFY_APP_NAME,COOLIFY_PROJECT_NAME,COOLIFY_SERVER_IP,COOLIFY_ENVIRONMENT_NAME', + // labels are used in the LogDrain configurations + 'labels' => 'coolify.name,coolify.projectName,coolify.environmentName', ], ]; }