camel trace

Tail message traces from running Camel integrations

Usage

camel trace [options]

Options

Option Description Default Type

--action

Action to start, stop, clear, list status, or dump traces

status

String

--ago

Use ago instead of yyyy-MM-dd HH:mm:ss in timestamp.

boolean

--compact

Compact output (no empty line separating traced messages)

true

boolean

--depth

Depth of tracing. 0=Created+Completed. 1=All events on 1st route, 2=All events on 1st+2nd depth, and so on. 9 = all events on every depth.

9

int

--find

Find and highlight matching text (ignore case).

String

--follow

Keep following and outputting new traces (press enter to exit).

true

boolean

--grep

Filter traces to only output trace matching text (ignore case).

String

--latest

Only output traces from the latest (follow if necessary until complete and exit)

boolean

--logging-color

Use colored logging

true

boolean

--mask

Whether to mask endpoint URIs to avoid printing sensitive information such as password or access keys

boolean

--prefix

Print prefix with running Camel integration name. auto=only prefix when running multiple integrations. true=always prefix. false=prefix off.

auto

String

--pretty

Pretty print message body when using JSon or XML format

boolean

--show-body

Show message body in traced messages

true

boolean

--show-exception

Show exception and stacktrace for failed messages

true

boolean

--show-exchange-properties

Show exchange properties in traced messages

false

boolean

--show-exchange-variables

Show exchange variables in traced messages

true

boolean

--show-headers

Show message headers in traced messages

true

boolean

--since

Return traces newer than a relative duration like 5s, 2m, or 1h. The value is in seconds if no unit specified.

String

--sort

Sort by pid, name or age for showing status of tracing

pid

String

--source

Prefer to display source filename/code instead of IDs

boolean

--tail

The number of traces from the end of the trace to show. Use -1 to read from the beginning. Use 0 to read only new lines. Defaults to showing all traces from beginning.

-1

int

--timestamp

Print timestamp.

true

boolean

-h,--help

Display the help and sub-commands

boolean