Print the logs of a training job
Print the logs of a training job
arena logs JOB [-T JOB_TYPE] [flags]
-c, --container string Specify the container name of instance to get log
-f, --follow Specify if the logs should be streamed.
-h, --help help for logs
-i, --instance string Specify the task instance to get log
--since string Only return logs newer than a relative duration like 5s, 2m, or 3h. Defaults to all logs. Only one of since-time / since may be used.
--since-time string Only return logs after a specific date (RFC3339). Defaults to all logs. Only one of since-time / since may be used.
-t, --tail int Lines of recent log file to display. Defaults to -1 with no selector, showing all log lines otherwise 10, if a selector is provided. (default -1)
--timestamps Include timestamps on each line in the log output
-T, --type string The training type to show logging, the possible option is volcano(Volcano),et(ElasticTraining),spark(Spark),tf(Tensorflow),mpi(MPI),py(Pytorch),horovod(Horovod). (optional)
--arena-namespace string The namespace of arena system service, like tf-operator (default "arena-system")
--config string Path to a kube config. Only required if out-of-cluster
--loglevel string Set the logging level. One of: debug|info|warn|error (default "info")
-n, --namespace string the namespace of the job
--pprof enable cpu profile
--trace enable trace
- arena - arena is the command line interface to Arena