Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
54 views

I would like writing regular logs to log.csv, statistics info to separate log files. (.NET Framework 4.7.) Instantiated in code - I want to keep it minimal and have purely xml-based config. Log.Logger ...
Nickolodeon's user avatar
  • 2,966
0 votes
0 answers
124 views

I need the logs as follows Health Check should have single log entry for /health/live and /health/ready when Status 200. Currently 3 log entries for /health/live 3-10 log entries for /health/ready. ...
Vee Coding's user avatar
0 votes
1 answer
917 views

WEB API, .NET CORE, C#, NET 8.0, SERILOG, SINK FILE, SERILOG EXPRESSIONS Good morning, as per demo attached here (https://github.com/serilog/serilog-sinks-file/issues/317) I have some problem to write ...
Stefania's user avatar
1 vote
2 answers
1k views

I am trying to get Serilog in my asp.net core project to log certain types of logs to a different sink depending on what is being logged, but all I end up with is 2 seperate logs with the exact same ...
Andrew Efurhievwe's user avatar
1 vote
2 answers
281 views

Using Serilog.Settings.Configuration (and presumably Serilog.Expressions) is it possible to reference another appsettings value? I'm trying to dynamically set endpointUrl below without duplicating the ...
Ben's user avatar
  • 11
1 vote
1 answer
364 views

I'm trying to output to console by configuring the sink as follows: { "Name": "Console", "Args": { "theme": "Serilog.Sinks.SystemConsole.Themes....
Ivan-Mark Debono's user avatar
1 vote
0 answers
155 views

I'm using Serilog.Expressions (3.4.0) to try to filter SQL injection attacks appearing in the query string. I've enriched the log event with the query string as a dictionary. It appears in my output ...
hobwell's user avatar
  • 536
2 votes
1 answer
779 views

I'm using serilog and try to filter out HTTP Methods that are not POST, GET, PUT, and DELETE. for example filter out OPTIONS Method. I also use UseSerilogRequestLogging and Serilog.Expressions. ...
Citizen-Dror's user avatar