Преглед на файлове

Change logging behaviour to only stdout with configurable verbosity (default: info)

pull/339/head
Björn Marten преди 6 години
родител
ревизия
3a80616185
променени са 1 файла, в които са добавени 5 реда и са изтрити 2 реда
  1. +5
    -2
      roles/matrix-bridge-appservice-webhooks/defaults/main.yml

+ 5
- 2
roles/matrix-bridge-appservice-webhooks/defaults/main.yml Целия файл

@@ -46,6 +46,9 @@ matrix_appservice_webhooks_homeserver_token: ''
matrix_appservice_webhooks_id_token: '' matrix_appservice_webhooks_id_token: ''
matrix_appservice_webhooks_api_secret: '' matrix_appservice_webhooks_api_secret: ''


# Logging information (error, warn, info, verbose, debug is availabe) default is: info
matrix_appservice_webhooks_log_level: 'info'

matrix_appservice_webhooks_configuration_yaml: | matrix_appservice_webhooks_configuration_yaml: |


# Configuration specific to the application service. All fields (unless otherwise marked) are required. # Configuration specific to the application service. All fields (unless otherwise marked) are required.
@@ -79,9 +82,9 @@ matrix_appservice_webhooks_configuration_yaml: |
logging: logging:
file: data/webhook.log file: data/webhook.log
console: true console: true
consoleLevel: info
consoleLevel: {{ matrix_appservice_webhooks_log_level }}
fileLevel: verbose fileLevel: verbose
writeFiles: true
writeFiles: false
rotate: rotate:
size: 52428800 # bytes, default is 50mb size: 52428800 # bytes, default is 50mb
count: 5 count: 5


Зареждане…
Отказ
Запис