ACK: [PATCH] lib: fwts_log: Add missing log field flags
Colin Ian King
colin.king at canonical.com
Wed Mar 26 10:05:28 UTC 2014
On 26/03/14 09:58, Matt Fleming wrote:
> From: Matt Fleming <matt.fleming at intel.com>
>
> There are fields in the output of --log-fields that do not currently
> work with --log-filter. Add missing fields to fwts_log_str_to_field() so
> that all of the fields can be used in filtering the log.
>
> Signed-off-by: Matt Fleming <matt.fleming at intel.com>
> ---
> src/lib/src/fwts_log.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/src/lib/src/fwts_log.c b/src/lib/src/fwts_log.c
> index 8d9923e1153b..7eeda684db7c 100644
> --- a/src/lib/src/fwts_log.c
> +++ b/src/lib/src/fwts_log.c
> @@ -233,8 +233,14 @@ fwts_log_field fwts_log_str_to_field(const char *text)
> { "INF", LOG_INFO },
> { "SUM", LOG_SUMMARY },
> { "SEP", LOG_SEPARATOR },
> + { "NLN", LOG_NEWLINE },
> { "ADV", LOG_ADVICE },
> { "HED", LOG_HEADING },
> + { "PAS", LOG_PASSED },
> + { "FAL", LOG_FAILED },
> + { "SKP", LOG_SKIPPED },
> + { "ABT", LOG_ABORTED },
> + { "INO", LOG_INFOONLY },
> { "ALL", ~0 },
> { NULL, 0 }
> };
>
Thanks Matt,
Acked-by: Colin Ian King <colin.king at canonical.com>
More information about the fwts-devel
mailing list