Comments (5)
I have an ASP.NET Core MVC app that also has issues with 3.5.
When I run the app in Visual Studio the Output window shows
Exception thrown: 'System.ArgumentOutOfRangeException' in Serilog.Sinks.PeriodicBatching.dll
Exception thrown: 'System.Reflection.TargetInvocationException' in System.Private.CoreLib.dll
Then the app exits and I cannot debug. Reverting back to 3.4 solves the problem.
from serilog-sinks-splunk.
Hello @fspataro, yes this is a bug only present on 3.5.0 and PR #138 is open to address it.
In the meantime, if you need to use 3.5.0, you need to specify a "queueLimit".
From your code, it would look like:
.WriteTo.EventCollector(
Configuration.GetValue("Splunk:splunkHost")
, Configuration.GetValue("Splunk:eventCollectorToken")
, sourceType: "docgen"
, queueLimit: 100000)
from serilog-sinks-splunk.
@JuanjoFuchs thanks!
from serilog-sinks-splunk.
@fspataro the issue is no longer present on v3.6.0
from serilog-sinks-splunk.
Closing as a part of larger Serilog contrib reorg
Checkout serilog/serilog#1627
from serilog-sinks-splunk.
Related Issues (20)
- Add default constructor for CustomField
- Splunk sink is not working in asp.net core 6 HOT 4
- Timestamp precision HOT 4
- Issue with overload HOT 1
- Is there any option to set http timeout for Collector HOT 2
- Support set meta data field host easily by code (dynamic resolution) HOT 1
- Support disabling of rendered message HOT 1
- EventCollectorSink relies on sealed type PeriodicBatchingSink HOT 1
- Appveyor/Nuget Package Release HOT 3
- Update security scanning and security policy.
- Fix TCP and UDP package upstream nuget
- Release build script issues
- Just updated from 3.7.0 to 4.0.0/4.0.1 and I cant get splunk to index the data HOT 18
- Bumped to 4.0.2 - Could not load file or assembly 'Serilog.Sinks.Splunk' or one of its dependencies. Strong name signature could not be verified. HOT 3
- [Request for Comments] Gitter vs GitHub Discussions for interactive interaction
- TraceId and SpanId are missing from the logs HOT 4
- Breaking changes between 3.7.0 and 4+ HOT 4
- Update Serilog.Sinks.PeriodicBatching to Version 4.1.0 HOT 2
- Allow for providing splunkHost as-is? HOT 5
- Update 3.7.0 -> 4.1.0 not working HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serilog-sinks-splunk.