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

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@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

Reviewed-By: Lucio Correia <luciojhc@linux.vnet.ibm.com> On 20-09-2016 11:56, Aline Manera wrote:
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@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 " \
-- Lucio Correia Software Engineer IBM LTC Brazil
participants (2)
-
Aline Manera
-
Lucio Correia