diff options
Diffstat (limited to 'src/modbuslog.c')
-rw-r--r-- | src/modbuslog.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/modbuslog.c b/src/modbuslog.c index b7d8bf6..27b7e5a 100644 --- a/src/modbuslog.c +++ b/src/modbuslog.c @@ -130,9 +130,10 @@ int main(int argc, char *argv[]) { return -1; } - syslog(LOG_INFO, "%s %s %d %d %c %d", mac_address(), modbus_device_address, - modbus_baud_rate, modbus_data_bits, modbus_parity[0], - modbus_stop_bits); + syslog(LOG_INFO, "MAC=[%s]", mac_address()); + syslog(LOG_INFO, "Serial Port=[%s]"); + syslog(LOG_INFO, "Serial Port Parameters=[%d %d %c %d]", modbus_baud_rate, + modbus_data_bits, modbus_parity[0], modbus_stop_bits); modbus_t *ctx; uint16_t tab_reg[4]; |