File tree Expand file tree Collapse file tree
ProjectTemplates/ReferenceProject Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "Serilog" : {
33 "MinimumLevel" : {
4- "Default" : " Debug" ,
5- "Override" : {
6- "Microsoft" : " Debug" ,
7- "System" : " Debug"
8- }
4+ "Default" : " Debug"
95 }
106 }
117}
Original file line number Diff line number Diff line change 11{
22 "Serilog" : {
33 "MinimumLevel" : {
4- "Default" : " Warning " ,
4+ "Default" : " Information " ,
55 "Override" : {
66 "Microsoft" : " Warning" ,
7+ "Microsoft.Hosting" : " Information" ,
78 "System" : " Warning"
89 }
910 },
11+ "Filter" : [],
1012 "WriteTo" : [
1113 {
1214 "Name" : " File" ,
1315 "Args" : {
1416 "path" : " %AppData%/Logs/ReferenceProject.log" ,
15- "rollingInterval" : " Day" ,
16- "buffered" : false
17+ "rollOnFileSizeLimit" : true ,
18+ "fileSizeLimitBytes" : 10485760 ,
19+ "retainedFileCountLimit" : 10 ,
20+ "buffered" : false ,
21+ "outputTemplate" : " [{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] {Message:lj}{NewLine}{Exception}"
1722 }
1823 },
1924 {
20- "Name" : " Console"
25+ "Name" : " Console" ,
26+ "Args" : {
27+ "outputTemplate" : " [{Timestamp:HH:mm:ss}] [{Level:u3}] {Message:lj}{NewLine}{Exception}"
28+ }
2129 }
30+ ],
31+ "Enrich" : [
32+ " FromLogContext"
2233 ]
2334 },
2435 "AllowedHosts" : " *" ,
You can’t perform that action at this time.
0 commit comments