serilog-contrib / serilog-sinks-splunk

A Serilog sink that writes to Splunk
https://splunk.com
Apache License 2.0
46 stars 47 forks source link

Method Not Found ...EventCollector #143

Closed madrum closed 2 years ago

madrum commented 3 years ago

I'm getting this logging error on a couple servers, but not on the majority (> 50). It is affecting a Windows Server 2016 Standard with .Net 4.6.2 and a Windows Server 2012 R2 Standard .Net 4.6.1. I am not aware of any differences specific to these servers.

I have updated all the NuGet packages and I'm not sure what else to look at.

System.MissingMethodException: Method not found: 'Serilog.LoggerConfiguration Serilog.SplunkLoggingConfigurationExtensions.EventCollector(Serilog.Configuration.LoggerSinkConfiguration, System.String, System.String, System.String, System.String, System.String, System.String, System.String, Serilog.Events.LogEventLevel, System.IFormatProvider, Boolean, Int32, Int32, System.Nullable`1, System.Net.Http.HttpMessageHandler, Serilog.Core.LoggingLevelSwitch)'.

merbla commented 2 years ago

Closing as a part of larger Serilog contrib reorg

Checkout serilog/serilog#1627