mc admin logs
Local diagnostics
PGSTY mcli runs these diagnostics against SILO without SUBNET registration. Online registration, uploads, and call-home are disabled; see client compatibility.
Changed: 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.
Description
Use the mc admin logs command to show MinIO server logs.
Examples
Show Logs for a Deployment
The following command displays the most recent ten server logs of any type for the alias minio1.
Show Last 5 Log Entries for a Node
The following command shows the most recent five log entries for a node1 on the deployment with alias minio1.
Show Application Type Log Entires for a Deployment
The following command shows log entries of the type application for all nodes on the deployment with alias minio1.
Syntax
The command has the following syntax:
Parameters
ALIAS
mc-cmd
Required
The alias of the MinIO deployment.
--last, -l
mc-cmd
Optional
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
mc-cmd
Optional
List log entries of a specified type. Valid types are minio, application, or all.
If not specified, all log entry types show.
NODE
mc-cmd
Optional
In distributed deployments, specify which node’s logs to show by entering the node’s name.
Global Flags
This command supports any of the global flags.