rrq_worker_process_log | R Documentation |
Return the contents of a worker's process log, if it is located on the same physical storage (including network storage) as the controller. This will generally behave for workers started with rrq_worker_spawn but may require significant care otherwise.
rrq_worker_process_log(worker_id, controller = NULL)
worker_id |
The worker id for which the log is required |
controller |
The controller to use. If not given (or |
A character vector, one line per line in the log. If logging is enabled but the worker has not produced any logs, this will be an empty character vector. If logging is not enabled, then this function will throw.
obj <- rrq_controller("rrq:example")
worker_id <- rrq_worker_list(controller = obj)[[1]]
tryCatch(
rrq_worker_process_log(worker_id, controller = obj),
error = identity)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.