From eb7a74b77689e4d16dcb667a2f11a77740d6e471 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Sun, 12 Apr 2020 14:35:27 +0200
Subject: [PATCH] recipe/erp5testnode: improve directory views for logs

Use NameWidth=* so that long filenames are never truncated

Use SuppressColumnSorting to disable the ablity to sort so that we can
wget -r all the logs for local analysis
---
 slapos/recipe/erp5testnode/template/httpd.conf.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/slapos/recipe/erp5testnode/template/httpd.conf.in b/slapos/recipe/erp5testnode/template/httpd.conf.in
index c6fa9050a..6fff6f81c 100644
--- a/slapos/recipe/erp5testnode/template/httpd.conf.in
+++ b/slapos/recipe/erp5testnode/template/httpd.conf.in
@@ -71,7 +71,7 @@ SSLProxyEngine On
     DocumentRoot "%(testnode_log_directory)s"
     <Directory />
         Options Indexes FollowSymLinks
-        IndexOptions FancyIndexing
+        IndexOptions FancyIndexing NameWidth=* SuppressColumnSorting
         Require all granted
     </Directory>
 </VirtualHost>
@@ -86,7 +86,7 @@ Listen [%(ip)s]:%(software_access_port)s
     <Directory />
         AllowOverride AuthConfig
         Options FollowSymLinks
-        IndexOptions FancyIndexing
+        IndexOptions FancyIndexing NameWidth=* SuppressColumnSorting
         Require all denied
    </Directory>
 </VirtualHost>
-- 
2.30.9