added log messages to verify serial parameters