Skip to content

Commit

Permalink
add sort to LogFormats to ensure consistency between runs
Browse files Browse the repository at this point in the history
  • Loading branch information
tjikkun authored and Morgan Haskel committed Nov 7, 2014
1 parent 1823dc2 commit 692fabc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/httpd.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
<% if @log_formats and !@log_formats.empty? -%>
<%- @log_formats.each do |nickname,format| -%>
<%- @log_formats.sort.each do |nickname,format| -%>
LogFormat "<%= format -%>" <%= nickname %>
<%- end -%>
<% end -%>
Expand Down

0 comments on commit 692fabc

Please sign in to comment.