-
Notifications
You must be signed in to change notification settings - Fork 425
/
base.yaml
55 lines (47 loc) · 1.09 KB
/
base.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
zap:
level: info
development: false
encoding: console
disableStacktrace: true
encoderConfig:
messageKey: message
nameKey: logger_name
levelKey: level
timeKey: ts
callerKey: caller
stacktraceKey: stack
levelEncoder: capital
timeEncoder: iso8601
durationEncoder: seconds
callerEncoder: short
outputPaths:
- stdout
- /var/log/kraken/kraken-origin/stdout.log
errorOutputPaths:
- stdout
- /var/log/kraken/kraken-origin/stdout.log
metainfogen:
piece_lengths:
0: 4MB # Use 4MB piece lengths for all file sizes (for now).
peer_id_factory: addr_hash
scheduler:
log:
timeEncoder: iso8601
torrentlog:
disable: true
metrics:
m3:
service: kraken-origin
localdb:
source: /var/cache/kraken/kraken-origin/origin.db
castore:
upload_dir: /var/cache/kraken/kraken-origin/upload/
cache_dir: /var/cache/kraken/kraken-origin/cache/
blobserver:
listener:
net: unix
addr: /tmp/kraken-origin.sock
nginx:
name: kraken-origin
cache_dir: /var/cache/kraken/kraken-origin/nginx/
log_dir: /var/log/kraken/kraken-origin/