log 信息
This commit is contained in:
parent
c1a36a0503
commit
c6256b9d13
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user