[PATCH 0/4] add HTML logging backend

Chris Van Hoof vanhoof at canonical.com
Thu May 31 03:45:16 UTC 2012


On 05/30/2012 02:40 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
> 
> This patch set reworks some of the fwts_framework logging to allow
> us to pass through logging types down to the logging back ends. This
> allows us to then implement a HTML logging back end to fwts.
> 
> We also take this opportunity to remove a lot of old unused cruft
> from the framework (such as pass/fail message strings from the
> environment which nobody ever uses) as part of the framework logging
> tidy-up.
> 
> Colin Ian King (4):
>   lib: fwts_log: add extra log types and upper case flavour of
>     fwts_log_field_to_str_full()
>   lib: fwts_framework: remove fwts_framework_results, remove redundant
>     code
>   lib: fwts_framework: log advice as LOG_ADVICE and not LOG_RESULT
>   lib: add HTML logging backend
> 
>  src/lib/include/fwts_framework.h |   31 +---
>  src/lib/include/fwts_log.h       |   18 ++-
>  src/lib/src/Makefile.am          |    1 +
>  src/lib/src/fwts_framework.c     |  144 ++++--------------
>  src/lib/src/fwts_log.c           |   42 ++++++
>  src/lib/src/fwts_log_html.c      |  297 ++++++++++++++++++++++++++++++++++++++
>  6 files changed, 387 insertions(+), 146 deletions(-)
>  create mode 100644 src/lib/src/fwts_log_html.c

Keng-yu put together a branch for me this evening and I spun a set of
debs to test this out:

http://ouwish.com/~vanhoof/pickup/kengyu/fwts/results.html

This is great Colin! :)

--chris





More information about the fwts-devel mailing list