Skip to content

Commit

Permalink
Added ErrorLogFormat to vhost configs [DHDO-424]
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlinssen committed Apr 8, 2022
1 parent 3be7818 commit 4220427
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/davrods-vhost.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<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
ErrorLogFormat "%{X-Forwarded-For}i [%{u}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] %M% ,\ referer\ %{Referer}i"
ErrorLog /var/log/httpd/apache.error.log
CustomLog /var/log/httpd/apache.access.log proxy

Expand Down
2 changes: 2 additions & 0 deletions config/upload-davrods-vhost.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
<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

ErrorLogFormat "%{X-Forwarded-For}i [%{u}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] %M% ,\ referer\ %{Referer}i"
ErrorLog /var/log/httpd/apache.error.log
CustomLog /var/log/httpd/apache.access.log proxy

Expand Down

0 comments on commit 4220427

Please sign in to comment.