#26 interact logs to logfile but not logfile_read

open
nobody
None
5
2009-05-01
2009-05-01
Anonymous
No

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.

Discussion