Updated to support new logger
Switched to new logging functions