aboutsummaryrefslogtreecommitdiff
path: root/debian/conf/logging.json
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2020-03-22 16:01:33 -0400
committerJoshua M. Boniface <joshua@boniface.me>2020-03-22 16:01:33 -0400
commit8b620ed26addec0f42e2797e3e4d45fbd68b0f23 (patch)
tree33e4fa49ce16f540867986f2a27f335bd0a36c1d /debian/conf/logging.json
parent28f7df652015013ff5cedb10971fb69c8e41d2b1 (diff)
Move Debian folder to root of repo
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 000000000..f32b2089e
--- /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}"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+}