From fe33f987cb61d8a5c22f207df6d47d2346828af7 Mon Sep 17 00:00:00 2001 From: Maksymilian Osowski Date: Thu, 26 Aug 2010 15:25:02 +0100 Subject: [PATCH] Updated the script to include access log. Change-Id: I3c97d60580040fa8e4bf63660091edb9c7a871fb --- tests/DumpRenderTree2/assets/run_apache2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/DumpRenderTree2/assets/run_apache2.py b/tests/DumpRenderTree2/assets/run_apache2.py index f40409020a643..7c78facdf9186 100755 --- a/tests/DumpRenderTree2/assets/run_apache2.py +++ b/tests/DumpRenderTree2/assets/run_apache2.py @@ -58,6 +58,7 @@ def main(): export_envvars_cmd = "source " + envvars_path error_log_path = os.path.join(tmp_WebKit, "apache2-error.log") + custom_log_path = os.path.join(tmp_WebKit, "apache2-access.log") #Prepare the command to (re)start/stop the server with specified settings apache2_restart_cmd = "apache2 -k " + run_cmd @@ -72,6 +73,7 @@ def main(): directives += " -c \"LoadModule autoindex_module /usr/lib/apache2/modules/mod_autoindex.so\"" directives += " -c \"ErrorLog " + error_log_path +"\"" + directives += " -c \"CustomLog " + custom_log_path + " combined\"" directives += " -c \"SSLCertificateFile " + os.path.join ("external", "webkit", "LayoutTests", "http", "conf", "webkit-httpd.pem") + "\"" directives += " -c \"User ${APACHE_RUN_USER}\""