Files
rclone/cmd/rc
Nick Craig-Wood 63e3d6f2d7 rc: add _logs parameter to return the logs made during a call
If _logs is set to true or a log level on an rc call then the logs
made while the call was running are returned as _logs in the result,
or in the error response if the call failed. For _async calls the logs
so far are returned as logs in job/status.

This needs the log buffer enabling with --log-buffer-size.

Logs aren't currently attributed to the call which made them so this
returns everything logged while the call was running. Because of this
_logs is refused on an rc server without authentication so the logs
can't be read through the calls which don't need authentication.
2026-09-21 17:50:43 +01:00
..