mc support logs show command to display MinIO server logs.
mc support commands were designed for MinIO deployments registered with MinIO SUBNET to ensure optimal outcome of diagnostics and performance testing.
MinIO does not guarantee any functionality if used against non-MinIO deployments or if used independently of MinIO engineering and support.
The following command shows logs for the alias
mc support logs show minio1
The following command shows the last five log entries on the node
node1 for a MinIO server with the alias
mc support logs show --last 5 minio1 node1
The following command shows the application logs for a MinIO server with the alias
Uploading logs requires registration to SUBNET.
The uploading feature remains disabled by default until explicitly enabled for a deployment on an opt-in only basis.
You can then disable the feature at any time with
mc support logs disable.
mc support logs show --type application minio1
The command has the following syntax:
mc [GLOBALFLAGS] support logs show \ [--last] \ [--type] \ ALIAS
Show the most recent log entries to a specified number. Takes an integer value.
If not specified, the command shows the last 10 log entries.
This command supports any of the global flags.