From 23e27dd53599be65b2dc2968448ce155a00a96c9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 19 Jan 2018 13:58:13 +0100 Subject: Add ability to configure log level --- config/default.yaml | 3 +++ config/production.yaml.example | 3 +++ 2 files changed, 6 insertions(+) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index 07bb26d5f..3d0732069 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -24,6 +24,9 @@ storage: torrents: 'storage/torrents/' cache: 'storage/cache/' +log: + level: 'debug' # debug/info/warning/error + cache: previews: size: 1 # Max number of previews you want to cache diff --git a/config/production.yaml.example b/config/production.yaml.example index 985b25a52..69052fb26 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -25,6 +25,9 @@ storage: torrents: '/home/peertube/storage/torrents/' cache: '/home/peertube/storage/cache/' +log: + level: 'debug' # debug/info/warning/error + cache: previews: size: 100 # Max number of previews you want to cache -- cgit v1.2.3