Documentation

Documentation

mc support logs show

Table of Contents

Description

Use the mc support logs show command to display MinIO server logs.

Note

The 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.

Examples

Show Logs for the Alias minio1

The following command shows logs for the alias minio1.

mc support logs show minio1

Show Last Five Log Entries for a Specific Node

The following command shows the last five log entries on the node node1 for a MinIO server with the alias minio1.

mc support logs show --last 5 minio1 node1

Show Application Log Entries

The following command shows the application logs for a MinIO server with the alias minio1.

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

Syntax

The command has the following syntax:

mc [GLOBALFLAGS] support logs show      \
                              [--last]  \
                              [--type]  \
                              ALIAS

Parameters

--last
Optional

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.

--type
Optional

List error logs by type.

Valid types:

  • application

  • minio

  • all

Defaults to all.

Global Flags

This command supports any of the global flags.