log4net config file for net.core with UDP Append remote address dynamically
问题 I got a log4net file in which I added the following : I want to be able to inject the RemoteAddress variable from my appSetting.json file via the startup.cs page. But I am getting the following error : log4net:ERROR Could not create Appender [UdpAppender] of type [log4net.Appender.UdpAppender]. Reported error follows. log4net.Util.TypeConverters.ConversionNotSupportedException: Cannot convert from type [System.String] value [%propery{RemoteAddress}] to type [System.Net.IPAddress] ---> System