- both "error_log()" and "access_log()" now support "syslog:" prefix - "error_log()" supports "stderr" destination - both "error_log()" and "access_log()" now support "off" destination (with minor notes for "error_log()")
4 lines
156 B
Django/Jinja
4 lines
156 B
Django/Jinja
{%- import 'snip/log.j2mod' as _log -%}
|
|
{#- {{ _log.error_log(dest='error.log', level=env.NGX_LOGLEVEL) }} -#}
|
|
{{ _log.error_log(level=env.NGX_LOGLEVEL) }}
|