Skip to content

Commit

Permalink
Merge pull request #75 from Azure-Samples/diagnostics2
Browse files Browse the repository at this point in the history
hard code diagnostic logging
  • Loading branch information
tonybaloney authored May 6, 2024
2 parents 0719859 + 934da57 commit a8bbfb5
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ param runtimeName string
param runtimeNameAndVersion string = '${runtimeName}|${runtimeVersion}'
param runtimeVersion string

param enableDiagnosticLogging bool = true

// Microsoft.Web/sites Properties
param kind string = 'app,linux'

Expand Down Expand Up @@ -61,9 +59,9 @@ resource appService 'Microsoft.Web/sites@2022-03-01' = {
allowedOrigins: union([ 'https://portal.azure.com', 'https://ms.portal.azure.com' ], allowedOrigins)
}
// Diagnostic logging
detailedErrorLoggingEnabled: enableDiagnosticLogging
httpLoggingEnabled: enableDiagnosticLogging
requestTracingEnabled: enableDiagnosticLogging
detailedErrorLoggingEnabled: true
httpLoggingEnabled: true
requestTracingEnabled: true
}
clientAffinityEnabled: clientAffinityEnabled
httpsOnly: true
Expand Down

0 comments on commit a8bbfb5

Please sign in to comment.