serilog-exceptions Questions
2
I am using Serilog and Serilog.Exceptions for structured logging purposes in my MVC5 application.
I want to remove the stack trace from the value of the "Exception" field in the log. I un...
Matron asked 2/9, 2021 at 10:28
1
I'm using appsettings.json to configure Serilog. I added Serilog.Exceptions, which works like a charm.
"Serilog": {
"Using": [ "Serilog.Sinks.Console", "Serilog.Settings.Configuration", "Serilog...
Unlay asked 16/12, 2019 at 8:51
1
Solved
I have the following piece of c# code for writing logs with multiple sinks (console and file), how do i restrict the console to log only (info, warn and error) and file to log everything.
var outpu...
Cedric asked 26/1, 2021 at 10:46
2
I am writing all logs into one file(s) using rolling. But I want to separate them by Information, Warning and Exceptions rolling files.
my current configuration is like this
"Serilog": {
"Write...
Knocker asked 25/5, 2020 at 5:49
1
Solved
I am adding Serilog to the project and I specifically want to add Serilog.Exceptions as well. Following the guideline I've added just the Exceptions enricher successfully, but I also need the destr...
Bengaline asked 28/10, 2019 at 8:27
1
© 2022 - 2024 — McMap. All rights reserved.