Redid logging and coloring in tasks.py