@@ -455,10 +455,9 @@ function New-WorkerStandaloneEnv($ResourceSettings) {
455
455
$config = $ResourceSettings.WorkerConfig | ConvertTo-FlatConfig
456
456
457
457
# These set up the Azure Functions job host or match with the normal Azure Functions worker settings.
458
+ $config [" ASPNETCORE_SUPPRESSSTATUSMESSAGES" ] = " true" ;
458
459
$config [" AzureFunctionsJobHost__logging__Console__IsEnabled" ] = " false" ;
459
460
$config [" AzureFunctionsJobHost__logging__LogLevel__Default" ] = $ResourceSettings.WorkerLogLevel ;
460
- $config [" logging__LogLevel__Default" ] = $ResourceSettings.WorkerLogLevel ;
461
- $config [" logging__ApplicationInsights__LogLevel__Default" ] = $ResourceSettings.WorkerLogLevel ;
462
461
$config [" AzureFunctionsWebHost__hostId" ] = $ResourceSettings.WorkerHostId ;
463
462
$config [" AzureWebJobs.MetricsFunction.Disabled" ] = " true" ;
464
463
$config [" AzureWebJobs.TimerFunction.Disabled" ] = " true" ;
@@ -468,6 +467,8 @@ function New-WorkerStandaloneEnv($ResourceSettings) {
468
467
$config [" DOTNET_gcServer" ] = " 1" ;
469
468
$config [" FUNCTIONS_WORKER_RUNTIME_VERSION" ] = " 7.0" ;
470
469
$config [" FUNCTIONS_WORKER_RUNTIME" ] = " dotnet-isolated" ;
470
+ $config [" logging__ApplicationInsights__LogLevel__Default" ] = $ResourceSettings.WorkerLogLevel ;
471
+ $config [" logging__LogLevel__Default" ] = $ResourceSettings.WorkerLogLevel ;
471
472
$config [" NUGET_INSIGHTS_ALLOW_ICU" ] = " true" ;
472
473
$config [" NuGetInsights__LeaseContainerName" ] = $ResourceSettings.LeaseContainerName ;
473
474
$config [" NuGetInsights__StorageAccountName" ] = $ResourceSettings.StorageAccountName ;
@@ -484,6 +485,7 @@ function New-WorkerStandaloneEnv($ResourceSettings) {
484
485
$config [" NuGetInsights__UserManagedIdentityClientId" ] = " PLACEHOLDER" ;
485
486
$config [" QueueTriggerConnection__clientId" ] = " PLACEHOLDER" ;
486
487
$config [" WEBSITE_HOSTNAME" ] = " PLACEHOLDER" ;
488
+ $config [" WEBSITE_SITE_NAME" ] = " PLACEHOLDER" ;
487
489
488
490
return $config
489
491
}
0 commit comments