Everything you output to STDOUT and STDERR will be available on IronWorker for debugging your code. For instance:
puts "Starting to do something..." puts "User: " + user.inspect
The log will be available for viewing via the Iron.io HUD.
The log can be obtained by using the get_log method.
worker.get_log
It can also be accessed via the API by calling the class with the task_id.
IronWorker.service.log(task_id)
You can access logs through the Iron.io HUD (UI). Find the job then click the Log link to view it.
There was an error while loading. Please reload this page.