apex trace list

List trace flags in your org.

Description for apex trace list 

Display a list of active and recently expired trace flags in your org org. Trace flags control debug logging for a specific user, Apex class, or Apex trigger. Use the “apex trace create” CLI command to create a trace flag.

Flags 

Flag Name (Long)Flag Name (Short)Description
‑‑api‑versionN/AType: Value

Override the api version used for api requests made by this command
‑‑flags‑dirN/AType: Value

Import flag values from a directory.
‑‑jsonN/AType: Boolean

Format output as json.
‑‑target‑org‑oType: Value
Required

Username or alias of the target org. Not required if the target-org configuration variable is already set.

Examples for apex trace list 

List all trace flags in your default org:

1sf apex trace list

List trace flags for an org with alias “my-org”:

1sf apex trace list --target-org my-org