Messaging the console like this is unhelpful, as it doesn't tell the console where this mistaken commandblock is. What if somebody sets up a commandblock on a redstone circuit and spams the console this way. At least include the coordinates. Cast to BlockCommandSender, getBlock(), output coords.