CmdID / az / az spring / az spring job
az spring job logs
Show logs for job execution instances. Azure CLI extensions reference
6 options Its page in the Azure CLI extensions reference
Options
--all-instancesThe flag to indicate get logs for all instances of the job execution.--executionthe name of the job execution.--instance, -iName of an existing instance of the job execution.--max-log-requestsSpecify maximum number of concurrent logs to follow when get logs by all-instances.--name, -nThe name of the job running in the specified Azure Spring Apps instance.--service, -sThe name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.