SUBNET Registration Required
mc support commands are designed for MinIO deployments registered with MinIO SUBNET to ensure optimal outcome of diagnostics and performance testing.
Deployments not registered with SUBNET cannot use the
mc support commands.
Changed in version RELEASE.2022-12-02T23-48-47Z:
mc support logs moved to
mc admin logs and provide a simpler command interface for displaying server logs for the MinIO deployment.
The output is similar to what is available via
journalctl -uf minio for systemd-controlled deployments.
mc admin logs command to show MinIO server logs.
To enable or disable the sending of logs to SUBNET for support, use
mc support callhome.
The uploading feature remains disabled by default until explicitly enabled for a deployment on an opt-in only basis.
If enabled, you can disable the feature at any time with
mc support callhome disable.
The following command displays the most recent ten server logs of any type for the alias
mc admin logs minio1
The following command shows the most recent five log entries for a
node1 on the deployment with alias
mc admin logs --last 5 myminio node1
The following command shows log entries of the type
application for all nodes on the deployment with alias
mc admin logs --type application minio1
The command has the following syntax:
mc admin logs [GLOBAL FLAGS] \ [--last, -l value] \ [--type, -t value] \ ALIAS \ [NODE]
The alias of the MinIO deployment.
- --last, -l
Show only the most recent specified number of log entries.
If this flag is not included, up to the last 10 log entries show.
- --type, --type
List log entries of a specified type. Valid types are
If not specified, all log entry types show.
This command supports any of the global flags.