add log config

This commit is contained in:
Sebastian Hugentobler 2016-08-03 13:49:46 +02:00
parent de68dc18b7
commit 3f8e81c2da
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,4 @@
#!/usr/bin/with-contenv sh #!/usr/bin/with-contenv sh
cd /var/lib/synapse cd /var/lib/synapse
source /var/lib/synapse/bin/activate s6-setuidgid synapse /var/lib/synapse/bin/python -B -m synapse.app.homeserver -c server.yaml
s6-setuidgid synapse python -B -m synapse.app.homeserver -c server.yaml

View File

@ -13,7 +13,7 @@ handlers:
file: file:
class: logging.handlers.RotatingFileHandler class: logging.handlers.RotatingFileHandler
formatter: precise formatter: precise
filename: /homeserver.log filename: /var/lib/synapse/homeserver.log
maxBytes: 104857600 maxBytes: 104857600
backupCount: 10 backupCount: 10
filters: [context] filters: [context]