[Kimchi-devel] [PATCH] [Wok] Fix issue #159: Fix user log filter parameters to allow user does advanced search

Aline Manera alinefm at linux.vnet.ibm.com
Tue Sep 20 14:56:31 UTC 2016


There was missing a comma in the filter parameters list which was
affecting the advanced search behavior. Fix it.

Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---
 src/wok/reqlogger.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/wok/reqlogger.py b/src/wok/reqlogger.py
index 7449f95..37190dc 100644
--- a/src/wok/reqlogger.py
+++ b/src/wok/reqlogger.py
@@ -39,7 +39,7 @@ from wok.utils import remove_old_files
 
 
 # Log search setup
-FILTER_FIELDS = ['app', 'date', 'ip', 'req', 'status' 'user', 'time']
+FILTER_FIELDS = ['app', 'date', 'ip', 'req', 'status', 'user', 'time']
 LOG_DOWNLOAD_URI = "/data/logs/%s"
 LOG_DOWNLOAD_TIMEOUT = 6
 LOG_FORMAT = "[%(date)s %(time)s %(zone)s] %(req)-6s %(status)s %(app)-11s " \
-- 
2.5.5




More information about the Kimchi-devel mailing list