Issue
az webapp log config --application-logging false doesn't turn it off
Default state

Turn on
Run az webapp log config --application-logging true -n mvpsdkdemoapp -o yaml to turn on
applicationLogs:
azureBlobStorage:
level: 'Off'
retentionInDays: null
sasUrl: null
azureTableStorage:
level: 'Off'
sasUrl: null
fileSystem:
level: Error
detailedErrorMessages:
enabled: false
failedRequestsTracing:
enabled: false
httpLogs:
azureBlobStorage:
enabled: false
retentionInDays: 7
sasUrl: null
fileSystem:
enabled: false
retentionInDays: 7
retentionInMb: 100
id: /subscriptions/25fd0362-aa79-488b-b37b-d6e892009fdf/resourceGroups/mvpsdkdemorg/providers/Microsoft.Web/sites/mvpsdkdemoapp/config/logs
kind: null
location: West US
name: logs
resourceGroup: mvpsdkdemorg
type: Microsoft.Web/sites/config
Turn off
To turn off I run the following:
az webapp log config --application-logging false -n mvpsdkdemoapp -o yaml
But the UI doesn't show it as disabled:

and the same output is returned.
applicationLogs:
azureBlobStorage:
level: 'Off'
retentionInDays: null
sasUrl: null
azureTableStorage:
level: 'Off'
sasUrl: null
fileSystem:
level: Error
detailedErrorMessages:
enabled: false
failedRequestsTracing:
enabled: false
httpLogs:
azureBlobStorage:
enabled: false
retentionInDays: 7
sasUrl: null
fileSystem:
enabled: false
retentionInDays: 7
retentionInMb: 100
id: /subscriptions/25fd0362-aa79-488b-b37b-d6e892009fdf/resourceGroups/mvpsdkdemorg/providers/Microsoft.Web/sites/mvpsdkdemoapp/config/logs
kind: null
location: West US
name: logs
resourceGroup: mvpsdkdemorg
type: Microsoft.Web/sites/config
Please note that the applicationLogging: fileSystem only has "level", it doesn't have have "enabled"
CLI version
command-modules-nspkg 2.0.3
core 2.2.0
nspkg 3.0.4
telemetry 1.0.4
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe' Extensions directory 'C:\Users\JonGallant\.azure\cliextensions'
Python (Windows) 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)]
azsdke2e
Issue
az webapp log config --application-logging false doesn't turn it off
Default state
Turn on
Run
az webapp log config --application-logging true -n mvpsdkdemoapp -o yamlto turn onTurn off
To turn off I run the following:
az webapp log config --application-logging false -n mvpsdkdemoapp -o yamlBut the UI doesn't show it as disabled:
and the same output is returned.
CLI version
azsdke2e