From 0c6649f39a3073a54aad6a5e41968ba3e0df0836 Mon Sep 17 00:00:00 2001 From: Topher Campbell Date: Fri, 22 Aug 2025 16:04:03 -0400 Subject: [PATCH 1/3] Adding notes about DD_AAS_INSTANCE_LOGGING_ENABLED stopping DD_SERVERLESS_LOG_PATH being set. --- .../azure_app_services/azure_app_services_linux.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/content/en/serverless/azure_app_services/azure_app_services_linux.md b/content/en/serverless/azure_app_services/azure_app_services_linux.md index 905cafa2b238e..f5ebbdd517dc6 100644 --- a/content/en/serverless/azure_app_services/azure_app_services_linux.md +++ b/content/en/serverless/azure_app_services/azure_app_services_linux.md @@ -163,15 +163,17 @@ See [Unified Service Tagging][303] for more information on the `version` tag.
Where you write your logs. For example, `/home/LogFiles/*.log` or `/home/LogFiles/myapp/*.log`.
+`DD_AAS_INSTANCE_LOGGING_ENABLED` +: **Value**: false
+When `true`, log collection is automatically configured for an additional file path: `/home/LogFiles/*$COMPUTERNAME*.log` + +
If your application has multiple instances, make sure that your application's log filename includes the $COMPUTERNAME variable. This ensures that log tailing does not create duplicated logs from multiple instances reading the same file. Enabling this feature variable will also prevent DD_SERVERLESS_LOG_PATH from being set. This is to prevent duplicate logs being ingested.
+ `WEBSITES_ENABLE_APP_SERVICE_STORAGE` : **Value**: `true`
Setting this environment variable to `true` allows the `/home/` mount to persist and be shared with the sidecar.
-`DD_AAS_INSTANCE_LOGGING_ENABLED` -: **Value**: false
-When `true`, log collection is automatically configured for an additional file path: `/home/LogFiles/*$COMPUTERNAME*.log` -
If your application has multiple instances, make sure that your application's log filename includes the $COMPUTERNAME variable. This ensures that log tailing does not create duplicated logs from multiple instances reading the same file.
{{% collapse-content title=".NET: Additional required environment variables" level="h4" id="dotnet-additional-settings" %}} From 644f2fc2ba172de82bf2f93f3156534179081e20 Mon Sep 17 00:00:00 2001 From: TophrC-dd <130502205+TophrC-dd@users.noreply.github.com> Date: Tue, 26 Aug 2025 08:46:56 -0400 Subject: [PATCH 2/3] Update content/en/serverless/azure_app_services/azure_app_services_linux.md Co-authored-by: May Lee --- .../serverless/azure_app_services/azure_app_services_linux.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/serverless/azure_app_services/azure_app_services_linux.md b/content/en/serverless/azure_app_services/azure_app_services_linux.md index f5ebbdd517dc6..7e35f641e0b9e 100644 --- a/content/en/serverless/azure_app_services/azure_app_services_linux.md +++ b/content/en/serverless/azure_app_services/azure_app_services_linux.md @@ -165,7 +165,7 @@ Where you write your logs. For example, `/home/LogFiles/*.log` or `/home/LogFile `DD_AAS_INSTANCE_LOGGING_ENABLED` : **Value**: false
-When `true`, log collection is automatically configured for an additional file path: `/home/LogFiles/*$COMPUTERNAME*.log` +When `true`, log collection is automatically configured for the additional file path: `/home/LogFiles/*$COMPUTERNAME*.log`
If your application has multiple instances, make sure that your application's log filename includes the $COMPUTERNAME variable. This ensures that log tailing does not create duplicated logs from multiple instances reading the same file. Enabling this feature variable will also prevent DD_SERVERLESS_LOG_PATH from being set. This is to prevent duplicate logs being ingested.
From 18307488ea7cf5910d2a48a16870d283a90b726e Mon Sep 17 00:00:00 2001 From: TophrC-dd <130502205+TophrC-dd@users.noreply.github.com> Date: Tue, 26 Aug 2025 08:47:37 -0400 Subject: [PATCH 3/3] Update content/en/serverless/azure_app_services/azure_app_services_linux.md Co-authored-by: May Lee --- .../serverless/azure_app_services/azure_app_services_linux.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/serverless/azure_app_services/azure_app_services_linux.md b/content/en/serverless/azure_app_services/azure_app_services_linux.md index 7e35f641e0b9e..bfe7561a3f0cd 100644 --- a/content/en/serverless/azure_app_services/azure_app_services_linux.md +++ b/content/en/serverless/azure_app_services/azure_app_services_linux.md @@ -167,7 +167,7 @@ Where you write your logs. For example, `/home/LogFiles/*.log` or `/home/LogFile : **Value**: false
When `true`, log collection is automatically configured for the additional file path: `/home/LogFiles/*$COMPUTERNAME*.log` -
If your application has multiple instances, make sure that your application's log filename includes the $COMPUTERNAME variable. This ensures that log tailing does not create duplicated logs from multiple instances reading the same file. Enabling this feature variable will also prevent DD_SERVERLESS_LOG_PATH from being set. This is to prevent duplicate logs being ingested.
+
If your application has multiple instances, make sure your application's log filename includes the $COMPUTERNAME variable. This ensures that log tailing does not create duplicate logs from multiple instances that are reading the same file. Enabling this feature variable also prevents DD_SERVERLESS_LOG_PATH from being set. This is to prevent ingesting duplicate logs.
`WEBSITES_ENABLE_APP_SERVICE_STORAGE` : **Value**: `true`