[sheepdog] [PATCH stable-0.7 0/5] update for logging enhancement

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Thu Dec 12 10:46:40 CET 2013


This update enhances logging feature of sheepdog. Below is a summary of
enhancements:

1. runtime loglevel changing
2. rotate log file with SIGHUP
3. specifiable log directory with -L option

They are useful for long living sheep clusters. So I'm backporting them to
the stable branch.

This patchset contains lots of manual modification and feature
backport. So it will be pushed to stable-0.7 if no one disagree with the
change in 2 days or a maintainer agree it.

Hitoshi Mitake (4):
  sheep, dog: runtime loglevel changing
  sheep: rotate log with SIGHUP
  dog: permit two or more depth of subcommands
  dog: let usage printing adopt nested subcommands

Teruaki Ishizaki (1):
  sheep: add an option for selecting the output directory of sheep.log

 dog/common.c             |  134 ++++++++++++++++++++++++++++++++++++++++------
 dog/dog.c                |   13 +++--
 dog/dog.h                |   10 ++++
 dog/node.c               |  100 +++++++++++++++++++++++++++++++++-
 include/internal_proto.h |    2 +
 include/logger.h         |    5 ++
 lib/logger.c             |   71 +++++++++++++++++++++++-
 sheep/ops.c              |   43 +++++++++++++++
 sheep/sheep.c            |   31 ++++++++++-
 9 files changed, 384 insertions(+), 25 deletions(-)

-- 
1.7.10.4




More information about the sheepdog mailing list