Skip to main content

caravel logs

A node's log: the last lines, then with --follow what it writes

A node's log: the last lines, then with --follow what it writes

Usage: caravel logs [OPTIONS] [NODE]

Arguments:
[NODE] sequencer (the default), relayer, validator-<n> (or <n>)

Options:
-f, --file <LANE_FILE> The lane file, or a directory with a lane.toml (also CARAVEL_FILE)
--follow Keep printing what it writes (-f is the lane file, as everywhere)
-e, --env <NAME> The deployment, [env.<name>] (also CARAVEL_ENV)
-n, --lines <LINES> [default: 50]
--json Print JSON on stdout, for scripts; progress and notes go to stderr
--release-dir <DIR> A release to install (also CARAVEL_RELEASE_DIR); default: the one installed with caravel, else this checkout's builds
--wasm-dir <DIR> Take the contracts from here instead, e.g. the CI contracts-wasm artifact (also CARAVEL_WASM_DIR)
--var <NAME=VALUE> Set one of the lane file's vars; repeat for more. Read by the var's type (lists and maps as TOML: --var 'validators=["1","2"]'). Also CARAVEL_VAR_<name>
--var-file <FILE> A TOML file of var values (name = value); later files win, and --var over them
-h, --help Print help