Mains AC voltage logging

How about using one of the digital voltmeters that comes with a built in serial port for logging ?

That should work - i guess

Might cost a little too much