@@ -403,10 +403,10 @@ Use the Azure CLI to download all log files at once:
403403
404404``` bash
405405# Download logs to a local zip file
406- az functionapp log download \
406+ az webapp log download \
407407 --name lucasp-premium-linux-isolated \
408408 --resource-group lucasp \
409- --log-path D:/temp/azure-logs.zip
409+ --log-file D:/temp/azure-logs.zip
410410
411411# Extract the logs
412412unzip D:/temp/azure-logs.zip -d D:/temp/LogFiles
@@ -588,7 +588,7 @@ grep "2025-10-10 17:53:3[89]" worker.log | grep "Span started"
588588 # Trigger function first
589589 curl https://< app> .azurewebsites.net/api/HttpTest
590590 # Wait a few seconds, then download
591- az functionapp log download --name < app> --resource-group < rg> --log-path logs.zip
591+ az webapp log download --name < app> --resource-group < rg> --log-file logs.zip
592592 ```
593593
594594#### Scenario 3: Wrong Tracer Version After Deployment
@@ -711,10 +711,10 @@ curl https://<app>.azurewebsites.net/api/HttpTest
711711sleep 5
712712
713713# 3. Download logs with timestamp in filename
714- az functionapp log download \
714+ az webapp log download \
715715 --name < app> \
716716 --resource-group < rg> \
717- --log-path D:/temp/logs-$( date +%H%M%S) .zip
717+ --log-file " D:/temp/logs-$( date +%H%M%S) .zip"
718718` ` `
719719
720720This creates a snapshot of logs for each test execution.
@@ -732,10 +732,10 @@ curl https://lucasp-premium-linux-isolated.azurewebsites.net/api/HttpTest
732732sleep 5 # Wait for logs to be written
733733
734734# === Step 2: Download logs ===
735- az functionapp log download \
735+ az webapp log download \
736736 --name lucasp-premium-linux-isolated \
737737 --resource-group lucasp \
738- --log-path D:/temp/logs-175339.zip
738+ --log-file D:/temp/logs-175339.zip
739739
740740unzip -q D:/temp/logs-175339.zip -d D:/temp/LogFiles
741741
0 commit comments