add log config
This commit is contained in:
parent
de68dc18b7
commit
3f8e81c2da
@ -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
|
|
||||||
|
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user