rst logging support

as promised.  without hacks.