- 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
141 B
Django/Jinja
4 lines
141 B
Django/Jinja
{%- import 'snip/log.j2mod' as _log -%}
|
|
{#- {{ _log.access_log(dest='access.log', format='main') }} -#}
|
|
{{ _log.access_log(format='main') }}
|