Adds serial port logging support

Adds serial port logging to improve troubleshooting.
Serial port settings are confugurable with the option:
"logging_serial_port_settings"