From c099b926a1d36e4e9d36c2945ee6ea6596918be8 Mon Sep 17 00:00:00 2001 From: mgarciate Date: Tue, 30 Jan 2024 22:38:11 +0100 Subject: [PATCH] Fix #29 Add LOGLEVEL environment variable --- docker-compose.yml | 3 ++- setup-wizard.yml | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 setup-wizard.yml diff --git a/docker-compose.yml b/docker-compose.yml index 6f6b1f3..dae4ea7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,7 +11,8 @@ services: - "rotki_logs:/logs" environment: ROTKI_ACCEPT_DOCKER_RISK: 1 - restart: always + LOGLEVEL: info + restart: unless-stopped volumes: rotki_data: {} rotki_logs: {} diff --git a/setup-wizard.yml b/setup-wizard.yml new file mode 100644 index 0000000..b593a20 --- /dev/null +++ b/setup-wizard.yml @@ -0,0 +1,17 @@ +version: "2" +fields: + - id: LOGLEVEL + target: + type: environment + name: LOGLEVEL + title: Log Level + description: >- + Defines logger's log level + enum: + - critical + - error + - warning + - info + - debug + - trace + required: true \ No newline at end of file