Currently only docker logs are streamable to the command line, and we wish to support this for WASM jobs as well.
Docker achieves these streaming logs by allowing the execution process to write to a ring buffer which will write to a log-driver based on configuration. By default, this driver is a JSON file and so docker will write log entries in the following format as jsonl:
{
"log": "\u001b[32mThe Project Gutenberg EBook of The Cosmic Computer, by Henry Beam Piper\n",
"stream": "stdout",
"time": "2023-03-17T11:37:08.764363458Z"