refactor: Move log directory configuration to Application section
- 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
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
},
|
||||
"LogDirectory": "E:\\LogFiles\\Digital Data\\ECMJobRunner.WebCron"
|
||||
}
|
||||
},
|
||||
"ConnectionStrings": {
|
||||
"SDD-VMP04-SQL17": "Server=SDD-VMP04-SQL17\\DD_DEVELOP01;Database=DD_ECM;User Id=sa;Password=dd;Encrypt=false;TrustServerCertificate=True;"
|
||||
@@ -18,5 +17,8 @@
|
||||
},
|
||||
"ReC": {
|
||||
"ApiUrl": "http://172.24.12.39:90"
|
||||
},
|
||||
"Application": {
|
||||
"LogDirectory": "E:\\LogFiles\\Digital Data\\ECMJobRunner.WebCron"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user