Skip to content

Commit 497e760

Browse files
TophrC-ddmaycmlee
andauthored
Adding notes about DD_AAS_INSTANCE_LOGGING_ENABLED stopping DD_SERVER… (#31253)
* Adding notes about DD_AAS_INSTANCE_LOGGING_ENABLED stopping DD_SERVERLESS_LOG_PATH being set. * Update content/en/serverless/azure_app_services/azure_app_services_linux.md Co-authored-by: May Lee <[email protected]> * Update content/en/serverless/azure_app_services/azure_app_services_linux.md Co-authored-by: May Lee <[email protected]> --------- Co-authored-by: May Lee <[email protected]>
1 parent 425945f commit 497e760

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

content/en/serverless/azure_app_services/azure_app_services_linux.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,15 +163,17 @@ See [Unified Service Tagging][303] for more information on the `version` tag.<br
163163
: **Value**: The log path the sidecar uses to collect logs.<br>
164164
Where you write your logs. For example, `/home/LogFiles/*.log` or `/home/LogFiles/myapp/*.log`.<br>
165165
166+
`DD_AAS_INSTANCE_LOGGING_ENABLED`
167+
: **Value**: false <br>
168+
When `true`, log collection is automatically configured for the additional file path: `/home/LogFiles/*$COMPUTERNAME*.log`
169+
170+
<div class="alert alert-info">If your application has multiple instances, make sure your application's log filename includes the <code>$COMPUTERNAME</code> 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 <code>DD_SERVERLESS_LOG_PATH</code> from being set. This is to prevent ingesting duplicate logs.</div>
171+
166172
`WEBSITES_ENABLE_APP_SERVICE_STORAGE`
167173
: **Value**: `true`<br>
168174
Setting this environment variable to `true` allows the `/home/` mount to persist and be shared with the sidecar.<br>
169175

170-
`DD_AAS_INSTANCE_LOGGING_ENABLED`
171-
: **Value**: false <br>
172-
When `true`, log collection is automatically configured for an additional file path: `/home/LogFiles/*$COMPUTERNAME*.log`
173176

174-
<div class="alert alert-info">If your application has multiple instances, make sure that your application's log filename includes the <code>$COMPUTERNAME</code> variable. This ensures that log tailing does not create duplicated logs from multiple instances reading the same file.</div>
175177

176178
{{% collapse-content title=".NET: Additional required environment variables" level="h4" id="dotnet-additional-settings" %}}
177179

0 commit comments

Comments
 (0)