Sets Serilog file configuration for all setups and environments

This commit is contained in:
BinaryAlley committed 2024-11-06 17:04:21 +02:00
1 parent 6022800776
commit 181c681813
9 files changed
+31 -13

No files matched your search

+2 -1
View File
@@ -1,5 +1,6 @@
{
"Serilog": {
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
"MinimumLevel": {
"Default": "Information",
"Override": {
@@ -20,7 +21,7 @@
{
"Name": "File",
"Args": {
"path": "${LOG_PATH}/lumina_api_.log",
"path": "%LOG_PATH%lumina_api_.log",
"rollingInterval": "Day",
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] {Message:lj}{NewLine}{Exception}",
"retainedFileCountLimit": 7,