1
0
mirror of https://github.com/minio/docs.git synced 2025-07-28 19:42:10 +03:00
Files
docs/source/reference/minio-mc-admin/mc-admin-logs.rst
Daryl White 348758b807 mc updates for RELEASE.2022-12-02T23-48-47Z (#667)
Updates mc docs for
[RELEASE.2022-12-02T23-48-47Z](623de88abd)
and closes several issues:

- Adds `mc support callhome`
- Simplifies and moves `mc support logs` to `mc admin logs`
- Adds `mc support proxy` command
- Adds `mc admin replicate resync` command

Closes #655 
Closes #663
Closes #644
2022-12-08 14:09:36 -06:00

2.8 KiB

mc admin logs

minio

Table of Contents

mc support logs show

mc admin logs

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.

To enable or disable the sending of logs to SUBNET for support, use mc support callhome.

Examples

Show Logs for a Deployment

The following command displays the most recent ten server logs of any type for the alias minio1.

mc admin logs 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.

mc admin logs --last 5 myminio node1

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.

mc admin logs --type application minio1

Syntax

The command has the following syntax:

mc admin logs [GLOBAL FLAGS]     \
              [--last, -l value] \
              [--type, -t value] \
              ALIAS              \
              [NODE]

Parameters

ALIAS

The alias <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 minio, application, or all.

If not specified, all log entry types show.

NODE

In distributed deployments, specify which node's logs to show by entering the node's name.

Global Flags