add logging instrumentation to find out why #82 isn't working