Mirror logs
This endpoint is used to get logs of a mirror (even one which has been deleted) or all mirrors. A mirror represents a data movement pipeline between two peers.
Request Fields
The name of the mirror to get logs for. An empty string will return logs for all mirrors in the PeerDB instance.
The log level to filter logs by. Can be one of ALL
, INFO
, WARN
, or ERROR
. Defaults to ALL
.
The page number to retrieve.
The number of logs to retrieve per page. If set to 0 or unset, no logs will be returned and a total count of logs will be returned.
The ID of the last log to retrieve logs before.
The ID of the first log to retrieve logs after.
Response Fields
An array of logs. The name is misleading here - it can contain info and warns as well, not just errors.
The total number of logs available.
The current page number.