interact logs writes to logfile, but not logfile_read. In _interact_copy:
if self.logfile is not None:
self.logfile.write (data)
self.logfile.flush()
should be:
if self.logfile is not None:
self.logfile.write (data)
self.logfile.flush()
if self.logfile_read is not None:
self.logfile_read.write (data)
self.logfile_read.flush()
interact doesn't seem to log sends/writes at all. I'm not sure why.