From 58d7a6a660ca81c6b1f023993d8f8b4ef18b07ab Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer <22202402+Sporqist@users.noreply.github.com> Date: Sat, 11 Mar 2023 21:22:50 +0100 Subject: [PATCH] [FIX] corrected environment Variable for log config --- templates/environment.env.j2 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/environment.env.j2 b/templates/environment.env.j2 index baeacba..82c5518 100644 --- a/templates/environment.env.j2 +++ b/templates/environment.env.j2 @@ -123,22 +123,22 @@ GITEA__attachment__MINIO_USE_SSL={{ gitea_vars.attachment.minio_use_ssl }} {% if 'log' in gitea_vars %} {% if 'root_path' in gitea_vars['log'] %} -GITEA__ssh__ROOT_PATH={{ gitea_vars.log.root_path }} +GITEA__log__ROOT_PATH={{ gitea_vars.log.root_path }} {% endif %} {% if 'mode' in gitea_vars['log'] %} -GITEA__ssh__MODE={{ gitea_vars.log.mode }} +GITEA__log__MODE={{ gitea_vars.log.mode }} {% endif %} {% if 'level' in gitea_vars['log'] %} -GITEA__ssh__LEVEL={{ gitea_vars.log.level }} +GITEA__log__LEVEL={{ gitea_vars.log.level }} {% endif %} {% if 'stacktrace_level' in gitea_vars['log'] %} -GITEA__ssh__STACKTRACE_LEVEL={{ gitea_vars.log.stacktrace_level }} +GITEA__log__STACKTRACE_LEVEL={{ gitea_vars.log.stacktrace_level }} {% endif %} -{% if 'enable_ssh_log' in gitea_vars['log'] %} -GITEA__ssh__ENABLE_SSH_LOG={{ gitea_vars.log.enable_ssh_log }} +{% if 'enable_log_log' in gitea_vars['log'] %} +GITEA__log__ENABLE_log_LOG={{ gitea_vars.log.enable_log_log }} {% endif %} {% if 'enable_xorm_log' in gitea_vars['log'] %} -GITEA__ssh__ENABLE_XORM_LOG={{ gitea_vars.log.enable_xorm_log }} +GITEA__log__ENABLE_XORM_LOG={{ gitea_vars.log.enable_xorm_log }} {% endif %} {% endif %} {# /logging#}