lep log
Manage and retrieve the logs history of specific jobs, deployments and replicas.
Usage
lep log [OPTIONS] COMMAND [ARGS]...
Options
--help
: Show this message and exit.
Commands
get
: Retrieve and display logs from deployments, jobs, or replicas
lep log get
Retrieve and display logs from deployments, jobs, or replicas
Usage
lep log get [OPTIONS]
Options
-d
,--deployment TEXT
: The name of the deployment or a LeptonDeployment object.-j
,--job TEXT
: Specifies the job ID. To find the job ID, use the 'lep job list' command.-jn
,--job-name TEXT
: Specifies the job name. If multiple jobs share this name, the logs for the newest job found will be retrieved by default.--replica TEXT
: The name of the replica or a Replica object.--start TEXT
: The start time in ISO format.--end TEXT
: The end time in ISO format.--limit INTEGER
: The maximum number of result lines to return.(default: 5000) [default: 5000]--path PATH
: Local directory path to save the log TXT files.--query TEXT
: Specify the query string--help
: Show this message and exit.