dcos node log

Displaying Mesos logs for nodes

Description

The dcos node log command displays the Mesos logs for the leading master node, agent nodes, or both.

Usage

  1. dcos node log [--follow --lines=N --leader --mesos-id=<mesos-id>] [--component=<component-name> --filter=<filter>...]

Options

NameDefaultDescription
—help, hDisplays usage.
—leaderThe leading master.
—followDynamically update the log.
—lines=N10Displays the last N lines.
—mesos-id=<mesos-id>The agent ID of a node.
—component=<component-name>Show DC/OS component logs.
—filter=<filter>Filter logs by field and value. Filter must be a string separated by colon. For example: —filter _PID:0 —filter _UID:1.

Parent command

CommandDescription
dcos nodeView DC/OS node information.