[FIX] corrected environment Variable for log config

This commit is contained in:
Marius Alwan Meyer 2023-03-11 21:22:50 +01:00
parent f3d926e3a9
commit 58d7a6a660

View File

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