Binary package “ttylog” in ubuntu xenial

serial port logger

 Print everything to stdout that comes from a serial device. You can specify
 the device and the baud rate.