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 committed Nov 5, 2014
1 parent fba4862 commit e72fd70
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 e72fd70

Please sign in to comment.