1
0
mirror of https://github.com/minio/docs.git synced 2025-04-21 08:05:59 +03:00
docs/source/reference/deprecated/mc-admin-console.rst
Daryl White 7be620fd13
Deprecates the long-dead mc admin console command (#1204)
Corrects most references to point to the current command.

Additional references to deprecated command fixed by PR #1198 .
We should merge 1198 at the same time we merge this one.
2024-05-06 14:30:36 -04:00

69 lines
1.6 KiB
ReStructuredText

====================
``mc admin console``
====================
.. default-domain:: minio
.. contents:: Table of Contents
:local:
:depth: 2
.. mc:: mc admin console
.. important::
This command has been replaced by :mc:`mc admin logs` in `mc RELEASE.2022-12-02T23-48-47Z <https://github.com/minio/mc/releases/tag/RELEASE.2022-12-02T23-48-47Z>`__.
The command was previously replaced by ``mc support logs show`` in `mc RELEASE.2022-06-26T18-51-48Z <https://github.com/minio/mc/tree/RELEASE.2022-06-26T18-51-48Z>`__.
Description
-----------
The :mc:`mc admin console` command returns server log entries for each
MinIO server in the deployment.
.. admonition:: Use ``mc admin`` on MinIO Deployments Only
:class: note
.. include:: /includes/facts-mc-admin.rst
:start-after: start-minio-only
:end-before: end-minio-only
Syntax
------
:mc:`mc admin console` has the following syntax:
.. code-block:: shell
:class: copyable
mc admin console [FLAGS] TARGET NODENAME
:mc:`mc admin console` supports the following:
.. mc-cmd:: TARGET
The :mc:`alias <mc alias>` of a configured MinIO deployment from which
the command retrieves server logs.
.. mc-cmd:: NODENAME
The specific MinIO server node from which the command retrieves server logs.
.. mc-cmd:: --limit, l
The number of most recent log entries to show. Defaults to ``10``.
.. mc-cmd:: --type, t
The type of errog logs to return. Specify one or more of the following
options as a comma-seperated ``,`` list:
- ``minio``
- ``application``
- ``all`` (Default)