Skip to main content

logs

inctl logs

Prints logs from skills or services in a given solution

Synopsis

Prints target logs (skill or service) from the instance running in a given solution.

inctl logs [flags]

Examples

  inctl logs --skill <skill-id> --service <service-name>
Multiple skills:
inctl logs --skill "<skill-id-1> <skill-id-2>"
inctl logs --skill <skill-id-1> --skill <skill-id-2>
Multiple services:
inctl logs --service "<service-name-1> <service-name-2>"
inctl logs --service <service-name-1> --service <service-name-2>
Explicitly specify org and solution:
inctl logs --org <organization@project-id> --solution <solution-id> --(target) <target-name-1> ...

Options

      --address string          The address of the cluster.
When not running the cluster on localhost, this should be the address of the relay
(e.g.: dns:///www.endpoints.<gcp_project_name>.cloud.goog:443).
Can be defined via the INTRINSIC_ADDRESS environment variable. (default "xfa.lan:17080")
--debug (optional) Prints extensive debug messages
--follow (optional) Whether to follow the solution logs.
-h, --help help for logs
--onprem_address string (optional) The onprem address (host:port) of the workcell. Used to circumvent the need of routing through the cloud, if the workcell is running in the same network as the inctl
--org string The Intrinsic organization to use. You can set the environment variable
INTRINSIC_ORG=organization to set a default organization.
--prefix_id (optional) Prefix each log line with the asset ID, e.g., '[my-skill-id]'. Enabled for multiple targets are provided.
--prefix_type (optional) Prefix each log line with the asset type, e.g., '[Skill]' or '[Service]'.
--service strings (optional) Indicates logs source is a service (or a list of services)
--since string (optional) Show logs starting since value. Value is either relative (e.g 10m) or
date time in RFC3339 format (e.g: 2006-01-02T15:04:05Z07:00)
--skill strings (optional) Indicates logs source is a skill (or a list of skills)
--solution string Solution ID from which logs will be read.
Can be defined via the INTRINSIC_SOLUTION environment variable.
--tail int (optional) The number of recent log lines to display. An input number less than 0 shows all log lines. (default 10)
--timeout string (optional) Maximum time to wait to receive logs. (default "300s")
--timestamps (optional) Whether to include timestamps on each log line.

Options inherited from parent commands

  -o, --output string   (optional) Output format. One of: (json, ndjson)
--print-trace Print the trace identifier when exiting.

SEE ALSO