/usr/share/puppet/modules.available/puppetlabs-apache/templates/vhost/_access_log.erb is in puppet-module-puppetlabs-apache 3.0.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | <% @_access_logs.each do |log| -%>
<% env ||= "env=#{log['env']}" if log['env'] -%>
<% env ||= '' -%>
<% format ||= "\"#{log['format']}\"" if log['format'] -%>
<% format ||= 'combined' -%>
<% if log['file'] -%>
<% if log['file'].chars.first == '/' -%>
<% destination = "#{log['file']}" -%>
<% else -%>
<% destination = "#{@logroot}/#{log['file']}" -%>
<% end -%>
<% elsif log['syslog'] -%>
<% destination = log['syslog'] -%>
<% elsif log['pipe'] -%>
<% destination = log['pipe'] -%>
<% else -%>
<% destination ||= "#{@logroot}/#{@name}_access_ssl.log" if @ssl -%>
<% destination ||= "#{@logroot}/#{@name}_access.log" -%>
<% end -%>
CustomLog "<%= destination %>" <%= format %> <%= env %>
<% end -%>
|