ソースを参照

Make Hookshot logging-level configurable

pull/2307/head
Slavi Pantaleev 3年前
コミット
4a62df2ea3
2個のファイルの変更3行の追加1行の削除
  1. +2
    -0
      roles/custom/matrix-bridge-hookshot/defaults/main.yml
  2. +1
    -1
      roles/custom/matrix-bridge-hookshot/templates/config.yml.j2

+ 2
- 0
roles/custom/matrix-bridge-hookshot/defaults/main.yml ファイルの表示

@@ -146,6 +146,8 @@ matrix_hookshot_provisioning_enabled: false
matrix_hookshot_provisioning_internal: "/v1"
matrix_hookshot_provisioning_endpoint: "{{ matrix_hookshot_public_endpoint }}{{ matrix_hookshot_provisioning_internal }}"

# Valid logging levels are: debug, info, warn, error
matrix_hookshot_logging_level: warn

matrix_hookshot_widgets_enabled: true
matrix_hookshot_widgets_port: 9003


+ 1
- 1
roles/custom/matrix-bridge-hookshot/templates/config.yml.j2 ファイルの表示

@@ -110,7 +110,7 @@ metrics:
logging:
# (Optional) Logging settings. You can have a severity debug,info,warn,error
#
level: warn
level: {{ matrix_hookshot_logging_level | to_json }}
{% if matrix_hookshot_widgets_enabled %}
widgets:
# (Optional) EXPERIMENTAL support for complimentary widgets


読み込み中…
キャンセル
保存