Clean up Logging, Problems with integrateing task with each task.'