Last active
          October 14, 2024 21:26 
        
      - 
      
- 
        Save ithomas51/f6b4a00193d7a23943e26025f5fc97c4 to your computer and use it in GitHub Desktop. 
Revisions
- 
        ithomas51 revised this gist Jun 13, 2023 . No changes.There are no files selected for viewing
- 
        ithomas51 revised this gist Jun 13, 2023 . 1 changed file with 54 additions and 1 deletion.There are no files selected for viewingThis file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,54 @@ { "Serilog": { "Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File", "Serilog.Sinks.Async" ], "MinimumLevel": { "Default": "Information", "Override": { "Default": "Information", "Microsoft.AspNetCore": "Warning", "Microsoft.Hosting": "Information", "Microsoft.EntityFrameworkCore": "Warning", "Microsoft.EntityFrameworkCore.Database.Command": "Warning" } }, "WriteTo:Console": { "Name": "Console", "Args": { "outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] >>> {Message} -- {RequestId}{NewLine}{Exception}", "formatter": "Serilog.Formatting.Compact.CompactJsonFormatter, Serilog.Formatting.Compact" }, "Enrich": [ "FromLogContext", "WithMachineName", "WithProcessId", "WithThreadId" ] }, "WriteTo:Async": { "Name": "Async", "Args": { "configure": [ { "Name": "File", "Args": { "path": "/Logs/ConStrValidation-.txt", "rollingInterval": "Day", "rollOnFileSizeLimit": true, "outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Properties:j} {NewLine} >>> {Message:lj} {NewLine}{Exception}" } } ] }, "Enrich": [ "FromLogContext", "WithMachineName", "WithProcessId", "WithThreadId" ] } } } 
- 
        ithomas51 created this gist Jun 13, 2023 .There are no files selected for viewingThis file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@