From 0475eef4ada77ed757cf5fffe4900c15d771a8c3 Mon Sep 17 00:00:00 2001 From: Alex Rosa Date: Sat, 4 Nov 2017 16:38:31 -0200 Subject: [PATCH 1/2] fixed: missing LogFormat --- apache/vhosts/minimal.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apache/vhosts/minimal.tmpl b/apache/vhosts/minimal.tmpl index d2243c7..f4e91b7 100644 --- a/apache/vhosts/minimal.tmpl +++ b/apache/vhosts/minimal.tmpl @@ -13,6 +13,8 @@ 'LogLevel': site.get('LogLevel', 'warn'), 'ErrorLog': site.get('ErrorLog', '{0}/{1}-error.log'.format(map.logdir, sitename)), 'CustomLog': site.get('CustomLog', '{0}/{1}-access.log'.format(map.logdir, sitename)), + 'LogFormat': site.get('LogFormat', '"%h %l %u %t \\\"%r\\\" %>s"'), + 'DocumentRoot': site.get('DocumentRoot', '{0}/{1}'.format(map.wwwdir, sitename)) } -%} From dca6c1b4a3d9aa74da7cf8eb7c7f3de4813bdfa3 Mon Sep 17 00:00:00 2001 From: alexfrosa Date: Sun, 5 Nov 2017 10:44:24 -0200 Subject: [PATCH 2/2] Update minimal.tmpl Adapted log format to Apache's new default --- apache/vhosts/minimal.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache/vhosts/minimal.tmpl b/apache/vhosts/minimal.tmpl index f4e91b7..98fab2f 100644 --- a/apache/vhosts/minimal.tmpl +++ b/apache/vhosts/minimal.tmpl @@ -13,7 +13,7 @@ 'LogLevel': site.get('LogLevel', 'warn'), 'ErrorLog': site.get('ErrorLog', '{0}/{1}-error.log'.format(map.logdir, sitename)), 'CustomLog': site.get('CustomLog', '{0}/{1}-access.log'.format(map.logdir, sitename)), - 'LogFormat': site.get('LogFormat', '"%h %l %u %t \\\"%r\\\" %>s"'), + 'LogFormat': site.get('LogFormat', '"%h %l %u %t \\\"%r\\\" %>s %b"'), 'DocumentRoot': site.get('DocumentRoot', '{0}/{1}'.format(map.wwwdir, sitename))