45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft": "Information",
|
|
"Microsoft.Hosting.Lifetime": "Information"
|
|
}
|
|
},
|
|
"ConnectionStrings": {
|
|
"mariadb": "SERVER=localhost;DATABASE=textor_test;PORT=3333;USER=root;PASSWORD=$64,rf1209",
|
|
"postgres": "",
|
|
"sqlserver": "",
|
|
"oracle": ""
|
|
},
|
|
"GeneralSettings": {
|
|
"DbToUse": "mariadb"
|
|
},
|
|
"Serilog": {
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"System": "Information",
|
|
"Microsoft": "Information"
|
|
}
|
|
},
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Elasticsearch",
|
|
"Args": {
|
|
"nodeUris": "http://192.168.178.44:9200",
|
|
"indexFormat": "TextorSearchLoggingIndex-{0:yyyy.MM}",
|
|
"autoRegisterTemplate": true,
|
|
"autoRegisterTemplateVersion": "ESv7",
|
|
"registerTemplateFailure": "IndexAnyway"
|
|
}
|
|
}
|
|
],
|
|
"Enrich": ["FromLogContext", "WithMachineName", "WithProcessId", "WithProcessName"],
|
|
"Properties": {
|
|
"Appname": "TxSearchApi",
|
|
"Environment": "Development"
|
|
}
|
|
}
|
|
}
|