Use new logging system for error reporting