The Serilog Graylog Sink project is a sink (basically a writer) for the Serilog logging framework. Structured log events are written to sinks and each sink is responsible for writing it to its own backend, database, store etc. This sink delivers the data to Graylog2, a NoSQL search engine.
Batching version of Serilog.Sinks.Graylog Sink. The Serilog Graylog Sink project is a sink (basically a writer) for the Serilog logging framework. Structured log events are written to sinks and each sink is responsible for writing it to its own backend, database, store etc. This sink delivers the...
More information
This is a fork of serilog-sinks-graylog that aims to provide a stable release schedule and enteprise grade performance, as well as a semver based versioning strategy.
This is an optional meta-package which includes all "X4D Diagnostics TraceListener" implementations such as ConsoleTraceListener and UdpJsonTraceListener. You can reference individual trace listener packages if preferred, see package dependencies for a list.
Setup:
on startup.cs:
app-->IApplicationBuilder
app.UseMiddleware(typeof(LogExceptionHandlingMiddleware));
LogConfiguration.ConfigureLog(strring ApplicationPath);
Use the following configuration:
"Log": {
"File": {
"LogFolder": "Logs",
"LogFile": "log-{0}.txt"
},...
More information