Currently the render logs are stored locally on the render nodes and upload to the server when the task is done. For incomplete tasks, the server fetches the log from the render node and or streams it (listen).
This is not very scalable and the render server is often the bottleneck, but also if nodes crashes in the middle of a task the log might not be uploaded to the server.
Also, when jobs are removed the logs are also deleted from the server.
I propose that we have the option for streaming the logs from the renders nodes directly to a Loki server and then use the same server for fetching the logs from afwatch. It also makes searching/analyzing the log files MUCH easier.
Currently the render logs are stored locally on the render nodes and upload to the server when the task is done. For incomplete tasks, the server fetches the log from the render node and or streams it (listen).
This is not very scalable and the render server is often the bottleneck, but also if nodes crashes in the middle of a task the log might not be uploaded to the server.
Also, when jobs are removed the logs are also deleted from the server.
I propose that we have the option for streaming the logs from the renders nodes directly to a Loki server and then use the same server for fetching the logs from afwatch. It also makes searching/analyzing the log files MUCH easier.