log 信息

This commit is contained in:
tiger_zhou 2023-03-08 09:57:10 +08:00
parent c1a36a0503
commit c6256b9d13

View File

@ -58,9 +58,9 @@ public class AfcTransferServer implements ApplicationRunner {
ChannelFuture future = b.bind(this.modbusTcpConfig.getAfcTransferPort()).sync();
if(future.isSuccess()) {
log.info(String.format("modbus-tcp server start on port [%s]", this.modbusTcpConfig.getPort()));
log.info(String.format("modbus-tcp AFC server start on port [%s]", this.modbusTcpConfig.getAfcTransferPort()));
} else {
log.error("modbus-tcp server start failed", future.cause());
log.error("modbus-tcp AFC server start failed", future.cause());
}
}