Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da9f91a1 authored by Maksymilian Osowski's avatar Maksymilian Osowski Committed by Android (Google) Code Review
Browse files

Merge "Updated the script to include access log."

parents 3eeb774c fe33f987
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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}\""