add using XLoggingService ...
This commit is contained in:
+33
-1
@@ -33,7 +33,7 @@
|
||||
"DefaultClientTimeout": -1
|
||||
},
|
||||
"LinkExtractionToolConfiguration": {
|
||||
"MaxLinks": 5,
|
||||
"MaxLinks": 5,
|
||||
"MaxChars": 8000
|
||||
},
|
||||
"WebSearchToolConfiguration": {
|
||||
@@ -46,6 +46,38 @@
|
||||
"HtmlEndpoint": "https://html.duckduckgo.com/html/",
|
||||
"LiteEndpoint": "https://lite.duckduckgo.com/lite/"
|
||||
},
|
||||
"LoggingServiceConfiguration": {
|
||||
"Enabled": true,
|
||||
"MinimumLevel": "Information",
|
||||
"Queue": {
|
||||
"Enabled": true,
|
||||
"Capacity": 10000,
|
||||
"ShutdownTimeoutSeconds": 10
|
||||
},
|
||||
"File": {
|
||||
"Enabled": true,
|
||||
"Format": "Json",
|
||||
"Directory": "./Logs",
|
||||
"RetainedFileCountLimit": 30,
|
||||
"MinimumLevel": "Information",
|
||||
"FileName": "xAiMcpServer-.log"
|
||||
},
|
||||
"Database": {
|
||||
"Enabled": false,
|
||||
"TableName": "XLogs",
|
||||
"AutoCreateTable": true,
|
||||
"MinimumLevel": "Warning",
|
||||
"Provider": "Microsoft.Data.Sqlite",
|
||||
"ConnectionString": "Filename=./Db/XLogs.db"
|
||||
},
|
||||
"Event": {
|
||||
"Enabled": false,
|
||||
"MinimumLevel": "Error",
|
||||
"Sender": "xAiMcpServer",
|
||||
"Topic": "application-logs",
|
||||
"Action": "ApplicationLogCreated"
|
||||
}
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Microsoft": "Warning",
|
||||
|
||||
Reference in New Issue
Block a user