Skip to content

Commit

Permalink
Added logFormat, ErrorLog and CustomLog [DHS-1845]
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlinssen committed Mar 24, 2022
1 parent d57bdc1 commit f1d13fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/upload-davrods-vhost.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
# its default options.
#
<VirtualHost *:80>
# We override the logfile location here so we can send these logs via Filebeat
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy
ErrorLog /var/log/httpd/apache.error.log
CustomLog /var/log/httpd/apache.access.log proxy

# Enter your server name here.
ServerName www.example.com
Expand Down

0 comments on commit f1d13fe

Please sign in to comment.