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#}