Logging
Where the gateway's log goes, what an entry holds, and which entries to act on.
AIStor logs everything the gateway writes as its own log entries, with the API name
SYSTEM.files. That includes the NFS server's lines. The entries reach the log targets
you configured for AIStor, and they follow AIStor's --json and --quiet options.
Read the gateway's entries
To see every recent entry, including events, read AIStor's log through mc:
mc admin logs ALIAS # recent entries from every node
mc admin logs ALIAS | grep -A4 SYSTEM.filesAIStor's own output carries the gateway's errors and warnings. On a node where systemd
runs AIStor as minio, read them from the journal:
journalctl -u minio -f # follow
journalctl -u minio --since -1h | grep -A4 SYSTEM.files # recent gateway entriesWhen AIStor runs with --json, its output carries every entry, events included. Select
the gateway's entries by their API name. fromjson? skips lines that are not JSON,
such as systemd's own:
journalctl -u minio -o cat | jq -R 'fromjson? | select(.api.name == "SYSTEM.files")'What an entry holds
| Field | Meaning |
|---|---|
| Level | How urgent the entry is: fatal, error, warning, or event |
| Message | What happened, and the error that caused it |
| Tags | The part of the gateway that logged it, and the export or cell it is about |
| Source | The place in the gateway's code that logged it, for MinIO support |
The levels mean:
- Fatal and error: something failed that you must act on, such as an export that cannot start or AIStor that cannot be reached.
- Warning: service is degraded or at risk, and may recover by itself.
- Event: a change in the life of an export or a cell, such as a cell moving to another node, or a line the NFS server writes as it starts.
For example, this entry says a cell call took 28 seconds:
API: SYSTEM.files
Time: 11:14:14 UTC 11/22/2026
Warning: export 1 cell 0 Usage took 27.73 s
subsystem="cells"
1: <source file>:<line>The gateway logs only what someone can act on. A request a client sends wrong, such as one for a file that does not exist, is not logged.
Repeated errors
An error that keeps happening is logged three times, then summarized instead of
repeated. A summary such as [last of 24 suppressed in 1h0m0s] comes at the 25th, the
50th and every 100th occurrence, at most once an hour. When the error stops for two
hours, a final summary gives the total.
For example, when AIStor is unreachable, the gateway logs the first failures and then the summaries, not one entry per retry. Use the metrics for the state in between.
Changes made to the gateway
AIStor records each change its management calls make to the gateway in its audit log,
in the service category.
When the gateway exits
When the gateway exits, AIStor logs AIStor Files: ...; starting it again in ....
For the start-up errors and what to do about them, see Troubleshooting.