[PATCH 0/6] Re-work log line numbering
Colin King
colin.king at canonical.com
Wed Jun 20 11:30:23 UTC 2012
From: Colin Ian King <colin.king at canonical.com>
Since each log back-end may re-format the given text depending on the
log type and width of the log, line numbering at at the top half of
the logging engine does not make any sense. Instead, we let each
logging back-end keep track of the line numbering since it knows best
about how many lines it has output.
We also re-work the summary output and drop the log line number
referencing since this does not make sense when we are producing different
log line number schemes depending on which kind of log type we are using.
Colin Ian King (6):
lib: fwts_summary: remove references to log line number
lib: fwts_log: add fwts_log_get_filenames()
lib: fwts_framework: output all logfile names being written to
lib: fwts_log: remove fwts_log_line_number(), no longer used
lib: log: move line counting to logging back-ends
lib: fwts_log: handle special logfile names
src/lib/include/fwts_log.h | 4 +--
src/lib/src/fwts_framework.c | 14 +++++---
src/lib/src/fwts_log.c | 67 +++++++++++++++++++++++++++++++-------
src/lib/src/fwts_log_html.c | 1 +
src/lib/src/fwts_log_json.c | 4 ++-
src/lib/src/fwts_log_plaintext.c | 5 ++-
src/lib/src/fwts_log_xml.c | 4 ++-
src/lib/src/fwts_summary.c | 57 ++++----------------------------
8 files changed, 86 insertions(+), 70 deletions(-)
--
1.7.10.4
More information about the fwts-devel
mailing list