move logging from terminal to session level (so all raw bytes are logged)