aboutsummaryrefslogtreecommitdiffstats
path: root/main/apache2/conf/0005-httpd.conf-ErrorLog-CustomLog-TransferLog.patch
blob: a4aa4d635d1851c9e047a23fd3c26dc7f3268ac0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
From c48105dca98ec2e4c63cb487f2ce5ab4da6a55c4 Mon Sep 17 00:00:00 2001
From: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
Date: Fri, 11 Sep 2015 11:40:22 +0300
Subject: [PATCH 05/14] httpd.conf: ErrorLog/CustomLog/TransferLog

---
 docs/conf/extra/httpd-ssl.conf.in | 6 +++---
 docs/conf/httpd.conf.in           | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/conf/extra/httpd-ssl.conf.in b/docs/conf/extra/httpd-ssl.conf.in
index f093b32..65dae32 100644
--- a/docs/conf/extra/httpd-ssl.conf.in
+++ b/docs/conf/extra/httpd-ssl.conf.in
@@ -124,8 +124,8 @@ SSLSessionCacheTimeout  300
 DocumentRoot "@exp_htdocsdir@"
 ServerName www.example.com:@@SSLPort@@
 ServerAdmin you@example.com
-ErrorLog "@exp_logfiledir@/error_log"
-TransferLog "@exp_logfiledir@/access_log"
+ErrorLog logs/ssl_error.log
+TransferLog logs/ssl_access.log
 
 #   SSL Engine Switch:
 #   Enable/Disable SSL for this virtual host.
@@ -284,7 +284,7 @@ BrowserMatch "MSIE [2-5]" \
 #   Per-Server Logging:
 #   The home of a custom SSL log file. Use this when you want a
 #   compact non-error SSL logfile on a virtual host basis.
-CustomLog "@exp_logfiledir@/ssl_request_log" \
+CustomLog logs/ssl_request.log \
           "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
 
 </VirtualHost>                                  
diff --git a/docs/conf/httpd.conf.in b/docs/conf/httpd.conf.in
index 2f2bf49..8386312 100644
--- a/docs/conf/httpd.conf.in
+++ b/docs/conf/httpd.conf.in
@@ -201,7 +201,7 @@ DocumentRoot "@exp_htdocsdir@"
 # logged here.  If you *do* define an error logfile for a <VirtualHost>
 # container, that host's errors will be logged there and not here.
 #
-ErrorLog "@rel_logfiledir@/error_log"
+ErrorLog logs/error.log
 
 #
 # LogLevel: Control the number of messages logged to the error_log.
@@ -230,13 +230,13 @@ LogLevel warn
     # define per-<VirtualHost> access logfiles, transactions will be
     # logged therein and *not* in this file.
     #
-    CustomLog "@rel_logfiledir@/access_log" common
+    #CustomLog logs/access.log common
 
     #
     # If you prefer a logfile with access, agent, and referer information
     # (Combined Logfile Format) you can use the following directive.
     #
-    #CustomLog "@rel_logfiledir@/access_log" combined
+    CustomLog logs/access.log combined
 </IfModule>
 
 <IfModule alias_module>
-- 
2.5.0