Disabling colors when logging to something else than a terminal