Output optype for logprint and an invalid optype macro. #1106