SMPP logger trigger extra connections
Posted: Thu Sep 09, 2021 10:52 am
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.
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.