You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/azure-cli/azure/cli/command_modules/appservice/_help.py
+27Lines changed: 27 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2365,6 +2365,33 @@
2365
2365
text: az webapp log deployment list --name MyWebApp --resource-group MyResourceGroup
2366
2366
"""
2367
2367
2368
+
helps['webapp log startup'] ="""
2369
+
type: group
2370
+
short-summary: Manage web app container startup logs.
2371
+
long-summary: View startup logs written during container initialization for Linux web apps. These logs contain platform lifecycle events and container stdout/stderr output from each cold start attempt.
2372
+
"""
2373
+
2374
+
helps['webapp log startup list'] ="""
2375
+
type: command
2376
+
short-summary: List all container startup log files for a web app.
2377
+
examples:
2378
+
- name: List all startup log files
2379
+
text: az webapp log startup list --name MyWebApp --resource-group MyResourceGroup
2380
+
- name: List only failure logs
2381
+
text: az webapp log startup list --name MyWebApp --resource-group MyResourceGroup --outcome failure
2382
+
"""
2383
+
2384
+
helps['webapp log startup show'] ="""
2385
+
type: command
2386
+
short-summary: Show the content of a container startup log.
2387
+
long-summary: By default, shows the most recent startup log, preferring failure logs. Use --filename to view a specific log file.
2388
+
examples:
2389
+
- name: Show the latest startup log (prefers failures)
2390
+
text: az webapp log startup show --name MyWebApp --resource-group MyResourceGroup
2391
+
- name: Show a specific startup log file
2392
+
text: az webapp log startup show --name MyWebApp --resource-group MyResourceGroup --filename 2026_04_13_lw0sdlwk000002_failure.log
c.argument('slot', options_list=['--slot', '-s'], help="the name of the slot. Default to the productions slot if not specified")
795
+
c.argument('filename', options_list=['--filename', '-f'], help='Name of a specific startup log file to display. If not specified, shows the latest log (preferring failures).')
0 commit comments