This commit is contained in:
2026-11-08 17:59:31 +03:30
parent 31add513bc
commit b58f1dd736
6 changed files with 63 additions and 21 deletions
+35 -2
View File
@@ -22,7 +22,6 @@
"DefaultValues": {
"version": "1.0"
}
},
"HttpServiceConfiguration": {
"DisableSSLCheck": true,
@@ -56,7 +55,41 @@
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
},
"XLogger": {
"Enabled": true,
"ApplicationName": "xAiApi",
"EnvironmentName": "Production",
"MinimumLevel": "Information",
"Queue": {
"Enabled": true,
"Capacity": 10000,
"ShutdownTimeoutSeconds": 10
},
"File": {
"Enabled": true,
"Directory": "./Logs",
"FileName": "xAiApi-.log",
"Format": "Json",
"MinimumLevel": "Information",
"RetainedFileCountLimit": 30
},
"Database": {
"Enabled": false,
"Provider": "Microsoft.Data.Sqlite",
"ConnectionString": "Filename=./Db/XLogs.db",
"TableName": "XLogs",
"AutoCreateTable": true,
"MinimumLevel": "Warning"
},
"Event": {
"Enabled": false,
"Topic": "application-logs",
"Action": "ApplicationLogCreated",
"Sender": "xAiApi",
"MinimumLevel": "Error"
}
}
},
"AllowedHosts": "*"
}
}