Skip to content

Commit 01f5be4

Browse files
logging issue fix
1 parent 7ff85b1 commit 01f5be4

File tree

4 files changed

+48004
-19
lines changed

4 files changed

+48004
-19
lines changed

infra/main.bicep

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,8 +1339,19 @@ module containerApp 'br/public:avm/res/app/container-app:0.18.1' = {
13391339
name: 'AZURE_AI_MODEL_DEPLOYMENT_NAME'
13401340
value: aiFoundryAiServicesModelDeployment.name
13411341
}
1342+
{
1343+
name: 'AZURE_BASIC_LOGGING_LEVEL'
1344+
value: 'INFO'
1345+
}
1346+
{
1347+
name: 'AZURE_PACKAGE_LOGGING_LEVEL'
1348+
value: 'WARNING'
1349+
}
1350+
{
1351+
name: 'AZURE_LOGGING_PACKAGES'
1352+
value: ''
1353+
}
13421354
]
1343-
13441355
}
13451356
]
13461357
secrets: [
@@ -1500,9 +1511,6 @@ module webSite 'modules/web-sites.bicep' = {
15001511
WEBSITES_CONTAINER_START_TIME_LIMIT: '1800' // 30 minutes, adjust as needed
15011512
BACKEND_API_URL: 'https://${containerApp.outputs.fqdn}'
15021513
AUTH_ENABLED: 'false'
1503-
AZURE_BASIC_LOGGING_LEVEL: 'INFO'
1504-
AZURE_PACKAGE_LOGGING_LEVEL: 'WARNING'
1505-
AZURE_LOGGING_PACKAGES: ''
15061514
}
15071515
// WAF aligned configuration for Monitoring
15081516
applicationInsightResourceId: enableMonitoring ? applicationInsights!.outputs.resourceId : null

0 commit comments

Comments
 (0)