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

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Tue Feb 5 10:46:45 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

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          |    8 +-
 lib/logger.c              |   26 ++++-
 script/json_log_viewer.py |  254 +++++++++++++++++++++++++++++++++++++++++++++
 sheep/sheep.c             |    6 +-
 tests/check               |   20 ++++-
 tests/common.config       |    1 +
 tests/common.rc           |    2 +-
 8 files changed, 308 insertions(+), 10 deletions(-)
 create mode 100755 script/json_log_viewer.py

-- 
1.7.2.5




More information about the sheepdog mailing list