[PATCH 0/4] add HTML logging backend

Colin King colin.king at canonical.com
Wed May 30 18:40:34 UTC 2012


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

-- 
1.7.9.5





More information about the fwts-devel mailing list