App Insights 日志文件

App Insights 日志文件

Application Insights 每天都会为我的 Web 应用生成大量日志文件,占用大量空间。它们大多似乎包含下面粘贴的错误。您知道如何解决该问题或配置 App Insights 以停止生成这些日志文件吗?

Microsoft.ApplicationInsights.Extensibility.AzureWebSites.TraceSource Error: 13 : Callback 'FrameworkSqlEventListener.OnEventWritten' failed for id = '0'. Exception: System.MissingMethodException: Method not found: 'Void Microsoft.ApplicationInsights.DataContracts.ISupportSampling.set_SamplingPercentage(Double)'.
   at Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.SamplingTelemetryProcessor.Process(ITelemetry item)
   at Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor.Process(ITelemetry item)
   at Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse.QuickPulseTelemetryProcessor.Process(ITelemetry telemetry)
   at Microsoft.ApplicationInsights.TelemetryClient.Track(ITelemetry telemetry)
   at Microsoft.ApplicationInsights.DependencyCollector.Implementation.FrameworkSqlProcessing.OnEndExecuteCallback(Int64 id, Boolean success, Boolean synchronous, Int32 sqlExceptionNumber)
   at Microsoft.ApplicationInsights.DependencyCollector.Implementation.FrameworkSqlEventListener.OnEndExecute(EventWrittenEventArgs eventData)
   at Microsoft.ApplicationInsights.DependencyCollector.Implementation.FrameworkSqlEventListener.OnEventWritten(EventWrittenEventArgs eventData)
    ProcessId=15968
    DateTime=2017-01-23T11:21:55.8138906Z

相关内容