summaryrefslogtreecommitdiff
path: root/media-tv/jellyfin/files/logging.json
diff options
context:
space:
mode:
authorGuillermo Ramos2020-11-12 19:09:00 +0100
committerGuillermo Ramos2020-11-12 19:09:00 +0100
commit4398202c71bce3258187b49a72dfbb10bc99f49e (patch)
treed496a1acf285d19ecff79b3593089205d815067a /media-tv/jellyfin/files/logging.json
parent359c272de001021408e9f782cd5866410d4c439f (diff)
downloadgentoo-overlay-4398202c71bce3258187b49a72dfbb10bc99f49e.tar.gz
Add jellyfin from aten, with EAPI=7
Diffstat (limited to 'media-tv/jellyfin/files/logging.json')
-rw-r--r--media-tv/jellyfin/files/logging.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/media-tv/jellyfin/files/logging.json b/media-tv/jellyfin/files/logging.json
new file mode 100644
index 0000000..f32b208
--- /dev/null
+++ b/media-tv/jellyfin/files/logging.json
@@ -0,0 +1,30 @@
+{
+ "Serilog": {
+ "MinimumLevel": "Information",
+ "WriteTo": [
+ {
+ "Name": "Console",
+ "Args": {
+ "outputTemplate": "[{Timestamp:HH:mm:ss}] [{Level:u3}] {Message:lj}{NewLine}{Exception}"
+ }
+ },
+ {
+ "Name": "Async",
+ "Args": {
+ "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}"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+}