Skip to main content

get_log

Function get_log 

Source
pub async fn get_log(
    __arg0: State<ApiState>,
    __arg1: Path<(String, String, u32)>,
    query: Result<Query<LogQuery>, QueryRejection>,
) -> Result<Json<LogChunk>, ApiError>
Expand description

A part of an attempt’s log, read from the worker that ran it; read on from next to follow a running task. 404 when the attempt has no log (yet), or the worker no longer has it; 503 when the worker is gone or can’t be reached.