From 9a2248e1d20ebc1826d246bf5bcb194e3499408e Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 3 Feb 2024 16:08:56 -0500 Subject: Add combined Debian build --- debian/conf/logging.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 debian/conf/logging.json (limited to 'debian/conf/logging.json') diff --git a/debian/conf/logging.json b/debian/conf/logging.json new file mode 100644 index 0000000..f32b208 --- /dev/null +++ b/debian/conf/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}" + } + } + ] + } + } + ] + } +} -- cgit