aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@j3s.sh>2020-07-02 03:44:45 +0000
committerroot <root@j3s.sh>2020-07-02 03:44:45 +0000
commitcea3bfaa58dc8a8479c9232487875fcbe098747b (patch)
tree2e471f3c19717e0c5d92a0490426e0f42132527a
parent30f37e711b58930ecfa35cd9c736d5ca16d07fb8 (diff)
downloadops-handbook-cea3bfaa58dc8a8479c9232487875fcbe098747b.tar.gz
ops-handbook-cea3bfaa58dc8a8479c9232487875fcbe098747b.tar.bz2
Fix perms
-rw-r--r--ansible/roles/synapse/tasks/main.yml2
-rw-r--r--ansible/roles/synapse/templates/my.domain.name.log.config.j24
2 files changed, 3 insertions, 3 deletions
diff --git a/ansible/roles/synapse/tasks/main.yml b/ansible/roles/synapse/tasks/main.yml
index a8d61fa..58eafcf 100644
--- a/ansible/roles/synapse/tasks/main.yml
+++ b/ansible/roles/synapse/tasks/main.yml
@@ -18,7 +18,7 @@
state: directory
owner: synapse
group: synapse
- mode: 0640
+ mode: 0770
- name: Correct signing key perms
file:
diff --git a/ansible/roles/synapse/templates/my.domain.name.log.config.j2 b/ansible/roles/synapse/templates/my.domain.name.log.config.j2
index ade6518..3a2d1f8 100644
--- a/ansible/roles/synapse/templates/my.domain.name.log.config.j2
+++ b/ansible/roles/synapse/templates/my.domain.name.log.config.j2
@@ -34,10 +34,10 @@ loggers:
synapse.storage.SQL:
# beware: increasing this to DEBUG will make synapse log sensitive
# information such as access tokens.
- level: INFO
+ level: WARNING
root:
- level: INFO
+ level: WARNING
handlers: [file, console]
disable_existing_loggers: false