Configurable log filename

Now, each task can configure its own log filename.