aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/modbuslog.c7
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];
5e682c7&follow=1'>Imported Upstream version 0+git20140611.14bd6c7upstream/0+git20140611.14bd6c7Jonathan McCrohan7-11/+60 2014-05-13New Upstream Snapshot (commit 1246b27)Jonathan McCrohan1-0/+6 2014-05-13Imported Upstream version 0+git20140512.1246b27upstream/0+git20140512.1246b27Jonathan McCrohan391-301/+3983 2014-04-05Release 0+git20140326.cfc2975-1debian/0+git20140326.cfc2975-1Jonathan McCrohan1-2/+2 2014-04-05d/control: update Homepage (upstream has moved from Gitweb to cgit)Jonathan McCrohan2-1/+2 2014-04-05New Upstream Snapshot (commit cfc2975)Jonathan McCrohan1-0/+6 2014-04-05Imported Upstream version 0+git20140326.cfc2975upstream/0+git20140326.cfc2975Jonathan McCrohan118-656/+877 2014-01-16Release 0+git20140107.1850cf8-1debian/0+git20140107.1850cf8-1Jonathan McCrohan1-2/+2 2014-01-16Update Standards Version to 3.9.5Jonathan McCrohan2-1/+9