allow custom configuration for task logging to different log dir, not fixed to logs/tasklogs.