Swapped to new logging method