now does logging, of some description...