When you did the address changing sketch, did you get a positive result using the serial monitor that showed the channel was changed to something other than 1? Sometimes there’s a glitch where you have to set the channel twice before the change actually happens and it stays on the new channel.
What sketch are you using for the logging sketch where you’re getting -9999 results from the sensor? Is the sensor connected to the logger with a 3.5mm headphone jack, or bare wires and a screw terminal board? Which grove jack are they connected to on the Mayfly? What’s the voltage selection jumper next to that Grove jack set to?