Skip to content

Commit

Permalink
Merge pull request #829 from tjikkun/log_formats_sort
Browse files Browse the repository at this point in the history
add sort to LogFormats to ensure consistency between runs
  • Loading branch information
Morgan Haskel committed Nov 5, 2014
2 parents fba4862 + e72fd70 commit 23a2dde
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 23a2dde

Please sign in to comment.