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

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Thu Feb 21 09:36:19 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
v3: collect log files unconditionally
v4: trivial commit message update
v5: change format of JSON log files
v6: rebase on the latest master

Hitoshi Mitake (5):
  logger: rename and change a role of select_log_formatter()
  logger: expand MAX_MSG_SIZE
  test: support log format select with $LOG_FORMAT
  test: collect logs of sheeps after tests
  script: json_log_viewer.py for collecting and viewing multiple log
    files of sheeps

 .gitignore                |    1 +
 include/logger.h          |    9 ++-
 lib/logger.c              |   27 ++++-
 script/json_log_viewer.py |  254 +++++++++++++++++++++++++++++++++++++++++++++
 sheep/sheep.c             |   11 ++-
 tests/check               |   20 ++++-
 tests/common.config       |    1 +
 tests/common.rc           |    2 +-
 8 files changed, 316 insertions(+), 9 deletions(-)
 create mode 100755 script/json_log_viewer.py

-- 
1.7.2.5




More information about the sheepdog mailing list