diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-19 13:58:13 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-19 13:58:13 +0100 |
commit | 23e27dd53599be65b2dc2968448ce155a00a96c9 (patch) | |
tree | cd7e5c88a345584a25c7ea03a81332b804d082d6 /config | |
parent | c7a9f34f7229529ea726de13867f87c0a8dd3007 (diff) | |
download | PeerTube-23e27dd53599be65b2dc2968448ce155a00a96c9.tar.gz PeerTube-23e27dd53599be65b2dc2968448ce155a00a96c9.tar.zst PeerTube-23e27dd53599be65b2dc2968448ce155a00a96c9.zip |
Add ability to configure log level
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 3 | ||||
-rw-r--r-- | config/production.yaml.example | 3 |
2 files changed, 6 insertions, 0 deletions
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: | |||
24 | torrents: 'storage/torrents/' | 24 | torrents: 'storage/torrents/' |
25 | cache: 'storage/cache/' | 25 | cache: 'storage/cache/' |
26 | 26 | ||
27 | log: | ||
28 | level: 'debug' # debug/info/warning/error | ||
29 | |||
27 | cache: | 30 | cache: |
28 | previews: | 31 | previews: |
29 | size: 1 # Max number of previews you want to cache | 32 | 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: | |||
25 | torrents: '/home/peertube/storage/torrents/' | 25 | torrents: '/home/peertube/storage/torrents/' |
26 | cache: '/home/peertube/storage/cache/' | 26 | cache: '/home/peertube/storage/cache/' |
27 | 27 | ||
28 | log: | ||
29 | level: 'debug' # debug/info/warning/error | ||
30 | |||
28 | cache: | 31 | cache: |
29 | previews: | 32 | previews: |
30 | size: 100 # Max number of previews you want to cache | 33 | size: 100 # Max number of previews you want to cache |