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

Lucio Correia luciojhc at linux.vnet.ibm.com
Tue Sep 20 18:08:32 UTC 2016


Reviewed-By: Lucio Correia <luciojhc at 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 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 " \
>


-- 
Lucio Correia
Software Engineer
IBM LTC Brazil




More information about the Kimchi-devel mailing list