We tried to turn on smpp logging for debugging using below code from example.
However, this seems to cause extra local connections to be made and logged.
We are using .NET5 with the latest nuget Inetlab.SMPP 2.9.14 to build the smpp server
Inetlab.SMPP.Logging.LogManager.SetLoggerFactory(new LoggerFactoryAdapter(host.Services.GetRequiredService<ILoggerFactory>(), Inetlab.SMPP.Logging.LogLevel.Info));
Attached the connection logs generated every 8 seconds.
It seems a local connection is made every 8 seconds when smpp logging is turned on.
Without smpp logging (using normal console logger), we do not see these "extra" connections being made, so the connections should be triggered from the smpp logging.
SMPP logger trigger extra connections
Re: SMPP logger trigger extra connections
The connection is triggered from outside. Internal SmppConnection object writes these log events when some TCP client connects/disconnects with your server.
The format {localIP}:{localPort} => {remoteIp}:{remotePort} is used to represent the connection in the log event.
The format {localIP}:{localPort} => {remoteIp}:{remotePort} is used to represent the connection in the log event.