Forráskód Böngészése

Update logging for async mode from #438

Joshua Boniface 6 éve
szülő
commit
4e8149bc86
1 módosított fájl, 14 hozzáadás és 6 törlés
  1. 14 6
      debian/conf/logging.json

+ 14 - 6
debian/conf/logging.json

@@ -7,13 +7,21 @@
                     "outputTemplate": "[{Timestamp:HH:mm:ss}] [{Level:u3}] {Message:lj}{NewLine}{Exception}"
                 }
             },
-            { "Name": "File",
+            {
+                "Name": "Async",
                 "Args": {
-                    "path": "%JELLYFIN_LOG_DIR%//jellyfin.log",
-                    "fileSizeLimitBytes": 10485700,
-                    "rollOnFileSizeLimit": true,
-                    "retainedFileCountLimit": 10,
-                    "outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] {Message}{NewLine}{Exception}"
+                    "configure": [
+                        {
+                            "Name": "File",
+                            "Args": {
+                                "path": "%JELLYFIN_LOG_DIR%//jellyfin.log",
+                                "fileSizeLimitBytes": 10485700,
+                                "rollOnFileSizeLimit": true,
+                                "retainedFileCountLimit": 10,
+                                "outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] {Message}{NewLine}{Exception}"
+                            }
+                        }
+                    ]
                 }
             }
         ]