Restoring log in all tasks

cf. issue #129
Merge pull request #135 from leny/issue-129

Restoring log in all tasks