created logging system for tasks