add log config
This commit is contained in:
parent
de68dc18b7
commit
3f8e81c2da
@ -1,5 +1,4 @@
|
||||
#!/usr/bin/with-contenv sh
|
||||
|
||||
cd /var/lib/synapse
|
||||
source /var/lib/synapse/bin/activate
|
||||
s6-setuidgid synapse python -B -m synapse.app.homeserver -c server.yaml
|
||||
s6-setuidgid synapse /var/lib/synapse/bin/python -B -m synapse.app.homeserver -c server.yaml
|
||||
|
@ -13,7 +13,7 @@ handlers:
|
||||
file:
|
||||
class: logging.handlers.RotatingFileHandler
|
||||
formatter: precise
|
||||
filename: /homeserver.log
|
||||
filename: /var/lib/synapse/homeserver.log
|
||||
maxBytes: 104857600
|
||||
backupCount: 10
|
||||
filters: [context]
|
||||
|
Loading…
Reference in New Issue
Block a user