Fix RAISE LOG when we should be doing RAISE DEBUG