瀏覽代碼

adds pino config file which set debug on

pull/3257/head
Yan Minagawa 2 年之前
父節點
當前提交
7753384ad9
共有 2 個檔案被更改,包括 9 行新增0 行删除
  1. +8
    -0
      roles/custom/matrix-bridge-appservice-polychat/tasks/setup_install.yml
  2. +1
    -0
      roles/custom/matrix-bridge-appservice-polychat/templates/pino.json.j2

+ 8
- 0
roles/custom/matrix-bridge-appservice-polychat/tasks/setup_install.yml 查看文件

@@ -80,6 +80,14 @@
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"

- name: Ensure matrix-appservice-polychat pino.json template exists
ansible.builtin.template:
src: "{{ role_path }}/templates/pino.json.j2"
dest: "{{ matrix_appservice_polychat_config_path }}/pino.json"
mode: 0644
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"

- name: Ensure appservice-polychat registration.yaml installed
ansible.builtin.copy:
content: "{{ matrix_appservice_polychat_registration | to_nice_yaml(indent=2, width=999999) }}"


+ 1
- 0
roles/custom/matrix-bridge-appservice-polychat/templates/pino.json.j2 查看文件

@@ -0,0 +1 @@
{"level":"debug"}

Loading…
取消
儲存