added log files.  Reverting from select() and recv() back to read()