[sheepdog] [PATCH v2 0/4] script: json_log_viewer.py for collecting and viewing multiple log files

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Tue Feb 5 03:49:28 CET 2013


This patch set adds a new script json_log_viewer.py and prepares for
it. The purpose of this script is collecting and viewing multiple log
files generated during execution of test scripts. I believe that
sorting logs with timestamp and showing them in single stream is
helpful for understanding and analyzing behaviour of sheeps.

v2: add missing Signed-off-by

Hitoshi Mitake (4):
  logger: add a mechanism for initializing log file with user specified
    callbacks
  test: support log format select with $LOG_FORMAT
  test: add new option -c for correcting logs
  script: json_log_viewer.py for collecting and viewing multiple log
    files of sheeps

 include/logger.h          |    2 +-
 lib/logger.c              |   48 +++++++---
 script/json_log_viewer.py |  224 +++++++++++++++++++++++++++++++++++++++++++++
 sheep/sheep.c             |   33 +++++--
 tests/check               |   27 +++++-
 tests/common.config       |    1 +
 tests/common.rc           |    2 +-
 7 files changed, 315 insertions(+), 22 deletions(-)
 create mode 100755 script/json_log_viewer.py

-- 
1.7.2.5




More information about the sheepdog mailing list