- Move LogDirectory from Logging section to Application section in appsettings.json - Update Program.cs to read from Application:LogDirectory instead of Logging:LogDirectory - Fix JSON schema validation warning for non-standard Logging properties - Application section now holds custom application-specific settings - Standard Logging and Serilog sections remain clean and schema-compliant
25 lines
566 B
JSON
25 lines
566 B
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"ConnectionStrings": {
|
|
"SDD-VMP04-SQL17": "Server=SDD-VMP04-SQL17\\DD_DEVELOP01;Database=DD_ECM;User Id=sa;Password=dd;Encrypt=false;TrustServerCertificate=True;"
|
|
},
|
|
"AllowedHosts": "*",
|
|
"HostingOptions": {
|
|
"UseWindowsService": false
|
|
},
|
|
"Hangfire": {
|
|
"InMemory": true
|
|
},
|
|
"ReC": {
|
|
"ApiUrl": "http://172.24.12.39:90"
|
|
},
|
|
"Application": {
|
|
"LogDirectory": "E:\\LogFiles\\Digital Data\\ECMJobRunner.WebCron"
|
|
}
|
|
}
|