Fix typos in Serilog configurations for both development and production environments
Description
This pull request addresses typos in the Serilog configuration within both appsettings.Development.json and appsettings.json files. The changes ensure that the configuration keys are correctly spelled and paths are correctly formatted. Specifically:
Corrected rolingInterval to rollingInterval
Corrected roleOnFileSizeLimit to rollOnFileSizeLimit
Corrected formater to formatter
Updated file paths to remove leading slashes for consistency
Changes
appsettings.Development.json
Changed "path": "/logs/log-.txt" to "path": "logs/log-.txt"
Corrected "rolingInterval": "Day" to "rollingInterval": "Day"
Corrected "roleOnFileSizeLimit": true to "rollOnFileSizeLimit": true
Corrected "formater": "Serilog.Formatting.Json.JsonFormatter" to "formatter": "Serilog.Formatting.Json.JsonFormatter"
appsettings.json
Changed "path": "/logs/log-.txt" to "path": "logs/log-.txt"
Corrected "rolingInterval": "Day" to "rollingInterval": "Day"
Corrected "roleOnFileSizeLimit": true to "rollOnFileSizeLimit": true
Corrected "formater": "Serilog.Formatting.Compact.CompactJsonFormatter" to "formatter": "Serilog.Formatting.Compact.CompactJsonFormatter"
Pull Request Title
Fix typos in Serilog configurations for both development and production environments
Description
This pull request addresses typos in the Serilog configuration within both
appsettings.Development.json
andappsettings.json
files. The changes ensure that the configuration keys are correctly spelled and paths are correctly formatted. Specifically:rolingInterval
torollingInterval
roleOnFileSizeLimit
torollOnFileSizeLimit
formater
toformatter
Changes
appsettings.Development.json
"path": "/logs/log-.txt"
to"path": "logs/log-.txt"
"rolingInterval": "Day"
to"rollingInterval": "Day"
"roleOnFileSizeLimit": true
to"rollOnFileSizeLimit": true
"formater": "Serilog.Formatting.Json.JsonFormatter"
to"formatter": "Serilog.Formatting.Json.JsonFormatter"
appsettings.json
"path": "/logs/log-.txt"
to"path": "logs/log-.txt"
"rolingInterval": "Day"
to"rollingInterval": "Day"
"roleOnFileSizeLimit": true
to"rollOnFileSizeLimit": true
"formater": "Serilog.Formatting.Compact.CompactJsonFormatter"
to"formatter": "Serilog.Formatting.Compact.CompactJsonFormatter"