[sheepdog-users] [PATCH stable-0.7 0/3] update for logger enhancement

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Mon Jan 27 11:54:32 CET 2014


This update contains a bugfix and enhancements of logger.

bugfix:
- invalid detection of sheep's death is fixed

enhancements:
- if passed path of log directory is not a correct path of directory, sheep
  exits
- syslog can be used as a log destination

Especially the last one is a big change. For using syslog without breaking
compatibility of command line options, this update adds a new option '-s' for
the purpose.

This update contains lots of manual modification and feature backporting. If no
one disagrees in 2 days or a maintainer agrees, it will be pushed to stable-0.7.

(This update doesn't conflict with previous update for stable-0.7.)

Hitoshi Mitake (3):
  logger: avoid using SIGHUP for detecting death of sheep
  sheep: exit when a passed path of log dir is not a directory
  logger: add a unified log destination option and syslog support

 include/logger.h |    9 ++++++-
 lib/logger.c     |   78 ++++++++++++++++++++++++++++++++----------------------
 sheep/sheep.c    |   31 +++++++++++++++++++---
 3 files changed, 81 insertions(+), 37 deletions(-)

-- 
1.7.10.4




More information about the sheepdog-users mailing list