aboutsummaryrefslogtreecommitdiff
path: root/debian/conf/logging.json
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-02-03 16:08:56 -0500
committerJoshua M. Boniface <joshua@boniface.me>2024-02-03 16:09:29 -0500
commit9a2248e1d20ebc1826d246bf5bcb194e3499408e (patch)
tree87fbcfa2325e85797ad68d172208a4427aa470fb /debian/conf/logging.json
parentAdd submodule checkout tool (diff)
downloadjellyfin-packaging-9a2248e1d20ebc1826d246bf5bcb194e3499408e.tar.gz
jellyfin-packaging-9a2248e1d20ebc1826d246bf5bcb194e3499408e.tar.bz2
jellyfin-packaging-9a2248e1d20ebc1826d246bf5bcb194e3499408e.zip
Add combined Debian build
Diffstat (limited to 'debian/conf/logging.json')
-rw-r--r--debian/conf/logging.json30
1 files changed, 30 insertions, 0 deletions
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}"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+}
bgstack15