Skip to content

Commit cccf315

Browse files
committed
feat: update Serilog configuration to include file and Seq sinks with corrected retained file count limit
1 parent 1223c9e commit cccf315

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

DotNetMetadataMcpServer/appsettings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@
1010
}
1111
},
1212
"Serilog": {
13+
"Using": [ "Serilog.Sinks.File", "Serilog.Sinks.Seq" ],
1314
"WriteTo": [
1415
{ "Name": "File",
1516
"Args": {
1617
"path": "%APPDATA%\\DotNetMetadataMcpServer\\log.txt",
1718
"rollingInterval": "Day",
1819
"shared": true,
19-
"retainedFileCountLimit:": 7
20+
"retainedFileCountLimit": 7
2021
}
2122
}
2223
//,{ "Name": "Seq", "Args": { "serverUrl": "http://localhost:5341" } }

0 commit comments

Comments
 (0)