[3.8] Task logs

Log tasks to syslog or by mail
to (better) do : more specific levels for critical errors such as "memory overflow and no work done => infinite restart of task)