Obtaining ModelArts Training Job Logs
Run the ma-cli ma-job get-log command to obtain ModelArts training job logs.
$ ma-cli ma-job get-log -h
Usage: ma-cli ma-job get-log [OPTIONS]
Get job log details.
Example:
# Get job log by job id
ma-cli ma-job get-log --job-id ${job_id}
Options:
-i, --job-id TEXT Get training job details by job id. [required]
-t, --task-id TEXT Get training job details by task id (default "worker-0").
-C, --config-file TEXT Configure file path for authorization.
-D, --debug Debug Mode. Shows full stack trace when error occurs.
-P, --profile TEXT CLI connection profile to use. The default profile is "DEFAULT".
-h, -H, --help Show this message and exit.
|
Parameter |
Type |
Mandatory |
Description |
|---|---|---|---|
|
-i / --job-id |
String |
Yes |
Obtain logs of a training job with a specified job ID. |
|
-t / --task-id |
String |
No |
Obtain logs of a specified task, which defaults to work-0. |
Examples
Obtain logs of a training job with a specified job ID.
ma-cli ma-job get-log --job-id b63e90baxxx

Last Article: Submitting a ModelArts Training Job
Next Article: Obtaining ModelArts Training Job Events
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.