don't add print-* logging options if destination is null

This commit is contained in:
Vivien Lacourba 2017-07-20 13:51:14 +02:00 committed by GitHub
parent 24fcf1d46c
commit 424163e277

View File

@ -12,7 +12,9 @@
<%- if @severity and @severity != '' -%>
severity <%= @severity %>;
<%- end -%>
<%- if @destination != 'null' -%>
print-category <%= @print_category ? 'yes' : 'no' %>;
print-severity <%= @print_severity ? 'yes' : 'no' %>;
print-time <%= @print_time ? 'yes' : 'no' %>;
<%- end -%>
};