| 1 | From 3f6e035c2d85967fc63431d73e4a37821513b39c Mon Sep 17 00:00:00 2001
|
| 2 | From: Kaarle Ritvanen <[email protected]>
|
| 3 | Date: Fri, 11 Sep 2015 11:40:22 +0300
|
| 4 | Subject: [PATCH 05/14] httpd.conf: ErrorLog/CustomLog/TransferLog
|
| 5 |
|
| 6 | ---
|
| 7 | docs/conf/extra/httpd-ssl.conf.in | 6 +++---
|
| 8 | docs/conf/httpd.conf.in | 6 +++---
|
| 9 | 2 files changed, 6 insertions(+), 6 deletions(-)
|
| 10 |
|
| 11 | diff --git a/docs/conf/extra/httpd-ssl.conf.in b/docs/conf/extra/httpd-ssl.conf.in
|
| 12 | index 6a3c67a..3ace58a 100644
|
| 13 | |
| 14 | |
| 15 | @@ -124,8 +124,8 @@ SSLSessionCacheTimeout 300
|
| 16 | DocumentRoot "@exp_htdocsdir@"
|
| 17 | ServerName www.example.com:@@SSLPort@@
|
| 18 | ServerAdmin [email protected]
|
| 19 | -ErrorLog "@exp_logfiledir@/error_log"
|
| 20 | -TransferLog "@exp_logfiledir@/access_log"
|
| 21 | +ErrorLog logs/ssl_error.log
|
| 22 | +TransferLog logs/ssl_access.log
|
| 23 |
|
| 24 | # SSL Engine Switch:
|
| 25 | # Enable/Disable SSL for this virtual host.
|
| 26 | @@ -284,7 +284,7 @@ BrowserMatch "MSIE [2-5]" \
|
| 27 | # Per-Server Logging:
|
| 28 | # The home of a custom SSL log file. Use this when you want a
|
| 29 | # compact non-error SSL logfile on a virtual host basis.
|
| 30 | -CustomLog "@exp_logfiledir@/ssl_request_log" \
|
| 31 | +CustomLog logs/ssl_request.log \
|
| 32 | "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
|
| 33 |
|
| 34 | </VirtualHost>
|
| 35 | diff --git a/docs/conf/httpd.conf.in b/docs/conf/httpd.conf.in
|
| 36 | index 33b7487..29ac06c 100644
|
| 37 | |
| 38 | |
| 39 | @@ -201,7 +201,7 @@ DocumentRoot "@exp_htdocsdir@"
|
| 40 | # logged here. If you *do* define an error logfile for a <VirtualHost>
|
| 41 | # container, that host's errors will be logged there and not here.
|
| 42 | #
|
| 43 | -ErrorLog "@rel_logfiledir@/error_log"
|
| 44 | +ErrorLog logs/error.log
|
| 45 |
|
| 46 | #
|
| 47 | # LogLevel: Control the number of messages logged to the error_log.
|
| 48 | @@ -230,13 +230,13 @@ LogLevel warn
|
| 49 | # define per-<VirtualHost> access logfiles, transactions will be
|
| 50 | # logged therein and *not* in this file.
|
| 51 | #
|
| 52 | - CustomLog "@rel_logfiledir@/access_log" common
|
| 53 | + #CustomLog logs/access.log common
|
| 54 |
|
| 55 | #
|
| 56 | # If you prefer a logfile with access, agent, and referer information
|
| 57 | # (Combined Logfile Format) you can use the following directive.
|
| 58 | #
|
| 59 | - #CustomLog "@rel_logfiledir@/access_log" combined
|
| 60 | + CustomLog logs/access.log combined
|
| 61 | </IfModule>
|
| 62 |
|
| 63 | <IfModule alias_module>
|
| 64 | --
|
| 65 | 2.9.4
|
| 66 |
|