Update to console logging