Prints contents of the log file of a Job or Service to the console. Requests the log every second. If the log response always empty for a given timeout, the logging stops.
1 |
obj |
Service or Job object |
job_id |
character the jobs ID |
service_id |
character - the services ID |
con |
a connected openeo client (optional) otherwise |
timeout |
integer the timeout for the logging after no update in seconds, default is 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.