add default log levels
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7dc58cc89b
commit
3597dc384b
@ -40,6 +40,13 @@ matrix_conf_dir: "{{ matrix_base_dir }}/config"
|
|||||||
matrix_data_dir: "{{ matrix_base_dir }}/data"
|
matrix_data_dir: "{{ matrix_base_dir }}/data"
|
||||||
matrix_log_dir: "{{ matrix_base_dir }}/logs"
|
matrix_log_dir: "{{ matrix_base_dir }}/logs"
|
||||||
|
|
||||||
|
matrix_log_file_level: INFO
|
||||||
|
matrix_log_console_level: ERROR
|
||||||
|
matrix_log_synapse_level: INFO
|
||||||
|
matrix_log_synapse_sql_level: INFO
|
||||||
|
matrix_log_ldap_level: INFO
|
||||||
|
matrix_log_ldap_auth_level: INFO
|
||||||
|
|
||||||
matrix_server_url: example.com
|
matrix_server_url: example.com
|
||||||
matrix_client_url: https://matrix.example.com
|
matrix_client_url: https://matrix.example.com
|
||||||
|
|
||||||
|
@ -20,29 +20,29 @@ handlers:
|
|||||||
backupCount: 10
|
backupCount: 10
|
||||||
filters: [context]
|
filters: [context]
|
||||||
encoding: utf8
|
encoding: utf8
|
||||||
level: DEBUG
|
level: {{ matrix_log_file_level }}
|
||||||
console:
|
console:
|
||||||
class: logging.StreamHandler
|
class: logging.StreamHandler
|
||||||
formatter: precise
|
formatter: precise
|
||||||
filters: [context]
|
filters: [context]
|
||||||
|
level: {{ matrix_log_console_level }}
|
||||||
|
|
||||||
loggers:
|
loggers:
|
||||||
synapse:
|
synapse:
|
||||||
level: INFO
|
level: {{ matrix_log_synapse_level }}
|
||||||
|
|
||||||
synapse.storage.SQL:
|
synapse.storage.SQL:
|
||||||
# beware: increasing this to DEBUG will make synapse log sensitive
|
# beware: increasing this to DEBUG will make synapse log sensitive
|
||||||
# information such as access tokens.
|
# information such as access tokens.
|
||||||
level: INFO
|
level: {{ matrix_log_synapse_sql_level }}
|
||||||
|
|
||||||
{% if matrix_ldap_auth_enabled %}
|
{% if matrix_ldap_auth_enabled %}
|
||||||
ldap3:
|
ldap3:
|
||||||
level: DEBUG
|
level: {{ matrix_log_ldap_level }}
|
||||||
|
|
||||||
ldap_auth_provider:
|
ldap_auth_provider:
|
||||||
level: DEBUG
|
level: {{ matrix_log_ldap_auth_level }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
root:
|
root:
|
||||||
level: INFO
|
|
||||||
handlers: [file, console]
|
handlers: [file, console]
|
||||||
|
Loading…
Reference in New Issue
Block a user