mr log
The activity log is an append-only record of entity changes and system
events, written as resources, notes, groups, tags, and other entities
change, and as settings, plugins and background work report. Each entry
captures a level, action, entity type and ID, a human message, the
request path, and a timestamp. The raw JSON uses lowercase keys (id,
level, action, entityType, etc.), not the PascalCase shape used
elsewhere in the API.
Use the log subcommands to inspect single rows. log get <id> fetches
one entry by its numeric ID. log entity --entity-type=X --entity-id=Y
returns the newest 50 entries for one specific entity. For a broad
query across the whole system, use logs list.
Usage
mr log
Flags
This command has no local flags.
Inherited global flags
| Flag | Type | Default | Description |
|---|---|---|---|
--json | bool | false | Output raw JSON |
--no-header | bool | false | Omit table headers |
--page | int | 1 | Page number for list commands (default page size: 50) |
--quiet | bool | false | Only output IDs |
--server | string | http://localhost:8181 | mahresources server URL (env: MAHRESOURCES_URL) |
Exit Codes
0 on success; 1 on any error